C language data model
The C language data model used in the 32-bit and 64-bit operating system environments are defined in the following table.
You must consider the size of the data passed from the Test Units to the SLIHs and back, since sizes can change as they are passed from one environment to the other. Use special care when passing information in the form of structures or pointers.
C Type | 32-bit Data Size | 64-bit Data Size |
---|---|---|
char | 8 bits | 8 bits |
short | 16 bits | 16 bits |
int | 32 bits | 32 bits |
long | 32 bits | 64 bits |
long long | 64 bits | 64 bits |
pointer | 32 bits | 64 bits |