[uClibc]Re: ftruncate64 on arm

Miles Bader miles at lsi.nec.co.jp
Wed Apr 10 07:45:50 UTC 2002


Erik Andersen <andersen at codepoet.org> writes:
> >   3. A question:  is `[unsigned] int' the right type to use (instead of,
> >      say, long)?  Does __WORDSIZE correspond to the size of an `int'?
> >      [I've always wondered a bit about this one... there are no comments
> >      in any of the `wordsize.h' files!]
> 
> Hmmm.  Maybe I should just avoid the confusion by including
> stdint.h and using uint32_t, which is guaranteed to be 32 bits.

Does __WORDSIZE == 32 not guarantee that for `int'?

[or, to put it another way, what _does_ __WORDSIZE actually mean?]

-Miles
-- 
`Life is a boundless sea of bitterness'



More information about the uClibc mailing list