chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] long pointer equivalent


From: Perry E. Metzger
Subject: Re: [Chicken-users] long pointer equivalent
Date: 27 Aug 2002 11:14:50 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Peter Keller <address@hidden> writes:
> On Tue, Aug 27, 2002 at 08:40:54AM -0400, Perry E. Metzger wrote:
> > However, what you *do* know is that the underlying types have to be
> > one of 8, 16, 32 or 64 bit widths (or perhaps even 128 bits -- I don't
> > know much about what long long's look like on some platforms.)
> 
> This above is not necessarily true. The sizeof(jmp_buf) is 48 bytes
> and sizeof(sigset_t) is 16 bytes on my desktop. Don't forget about POSIX
> structures like termios too.

Those are compound types, not integral types. You can just treat some
of those as blobs. The integral types, though, might return stuff you
have to interpret or set explicitly, like where you are seeking for an
lseek.

There are of course also foreign structures but we seem to have ways
of dealing with them already.

-- 
Perry E. Metzger                address@hidden
--
"Ask not what your country can force other people to do for you..."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]