Re: fixed memory bytes

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

 



> 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:
> http://lxr.linux.no/#linux+v2.6.36/arch/powerpc/boot/types.h#L8
>>

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 *).

-syed

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux