fixed memory bytes

sk.syed2 sk.syed2 at
Tue Jan 4 17:20:47 EST 2011

> Linux (compiler actually) supports C99 fixed-width types such as 8,
> 16, 32, 64 bits.
> Just look through the include/linux/types.h
> and small example here:

while writing portable applications always remember that "unsigned
long" is the size of pointer and not necessarily unsigned int.

For example on x86_64 sizeof(unsigned int) != sizeof(void *).


More information about the Kernelnewbies mailing list