source is from
http://developers.sun.com/solaris/articles/ILP32toLP64Issues.html
and
http://www.unix.org/whitepapers/64bit.html
there are several kind of data type mode
Data Type | LP32 | ILP32 | ILP64 | LLP64 | LP64 |
---|---|---|---|---|---|
char | 8 | 8 | 8 | 8 | 8 |
short | 16 | 16 | 16 | 16 | 16 |
int32 | 32 | ||||
int | 16 | 32 | 64 | 32 | 32 |
long | 32 | 32 | 64 | 32 | 64 |
long long (int64) | 64 | ||||
pointer | 32 | 32 | 64 | 64 | 64 |