Matthew Mondor | 4 Jul 2010 08:48

Re: long-long

On Sun, 04 Jul 2010 05:19:39 +0200
pjb@... (Pascal J. Bourguignon) wrote:

> Juan Jose Garcia-Ripoll <juanjose.garciaripoll@...> writes:
> 
> > Seth, can you try compiling this tiny piece of code?
> >
> > (FFI:CLINES "
> > long long lseek64(int a, long long b, int c)
> > {
> > return 0;
> > }
> > ")

I wasn't yet hit by this case as I had no 64-bit API using long long to
deal with (NetBSD lseek(2) using a 64-bit off_t (a quad_t, itself a
typedef to int64_t)).  But long long as been in use for a long time in
the C world and it ideally should be supported everywhere the C
compiler allows them...  I'm wondering however, on 64-bit architectures
with an ABI where long is 64-bit, is long long a 128-bit type?

Thanks,
--

-- 
Matt

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first

Gmane