64-bit data models


========ILP32 - LP64 - LLP64 - ILP64
char ::::::::8 ------ 8 ------ 8 ------- 8
short :::::::16 ----- 16 ---- 16 ------ 16
int :::::::::: 32 ----- 32 ---- 32 ----- 64
long :::::::: 32 ----- 64 ---- 32 ----- 64
long long ::64 ----- 64 ---- 64 ----- 64
size_t :::::: 32 ----- 64 ---- 64 ----- 64
pointer ::: 32 ----- 64 ---- 64 ------64


Sample Operating Systems:

Microsoft Win64 (X64/IA64) => LLP64

Most Unix and Unix-like systems (Solaris, Linux, HP-UX Itanium , etc.) => LP64