32-bit UNIX applications

This section is included for comparison and is based on Solaris. Any differences with other UNIX(R) platforms are noted:

Name Length
char 1 byte
short 2 bytes
int 4 bytes
long 4 bytes
float 4 bytes
double 8 bytes
long double 16 bytes

Note that on AIX(R) and Linux(R) PPC a long double is 8 bytes.

pointer 4 bytes
ptrdiff_t 4 bytes
size_t 4 bytes
time_t 4 bytes
clock_t 4 bytes
wchar_t 4 bytes

Note that on AIX a wchar_t is 2 bytes.