On Fri, 18 Feb 2000, Kulwinder Atwal wrote:

> For Linux on a 32-bit machine (Pentium):
> 
> short = 8 bits
> int = 16 bits

That is not true:
signed char = 8 bits
short = 16 bits
int = 32 bits (32-bit architecture!) 

> long = 32 bits = one word
> long long = 64 bits = two words

This is correct.

--
Tomek

P.S. Use always things like u16,  or int16_t  u_int32_t etc. 
sys/types.h  or asm/types.c

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to