Re: Programming question: sizeof struct?
On Sun, 11 Jul 1999, Antti-Juhani Kaijanaho wrote:
> On Sat, Jul 10, 1999 at 11:26:19PM +1000, Hamish Moffatt wrote:
> > Or even 8, since an int is 32 bits.
>
> int can be anything from 16 bits up.
we do not have such architectures, i believe
> In fact, I believe we have
> architectures where int is 64 bits.
well, that is not true either. I believe Linux follows
LP64 model on 64bit hw, where long and pointer are 64bits
while int is still 32bits
> Do *not* depend on the size of int!
agreed
OK
Reply to: