[Ecls-list] long-long

Matthew Mondor mm_lists at pulsar-zone.net
Sun Jul 4 06:48:18 UTC 2010


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

> Juan Jose Garcia-Ripoll <juanjose.garciaripoll at googlemail.com> 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




More information about the ecl-devel mailing list