Guardian C Library Calls Reference Manual

<limitsh>
2-8 128833Guardian TNS C Library Calls Reference Manual
Summary of Library Header Files
<limitsh>
The header limitsh defines object-like macros that describe the representation and limits
of integral types in the C language.
Here are the macros that describe the integral types char, signed char, and unsigned char.
Each macro name is followed by its value and its meaning.
If you have not specified the wide-data model, these macros describe the integral types
int and unsigned int. Each macro name is followed by its value and its meaning.
These macros describe the integral types int and unsigned int for the wide-data model.
Here are the macros that describe the integral types long and unsigned long. Each macro
name is followed by its value and its meaning.
CHAR_BIT
8 Number of bits in a char variable
CHAR_MIN
0 Minimum char value
SCHAR_MIN
-128 Minimum signed char value
CHAR_MAX
255 Maximum char value
SCHAR_MAX
127 Maximum signed char value
UCHAR_MAX
255 Maximum unsigned char value
INT_BIT
16 Number of bits in an int variable
INT_MIN
-32768 Minimum int value
INT_MAX
32767 Maximum int value
UINT_MAX
65535 Maximum unsigned int value
INT_BIT
32 Number of bits in an int variable
INT_MIN
-2147483648 Minimum int value
INT_MAX
2147483647 Maximum int value
UINT_MAX
4294967295 Maximum unsigned int value
LONG_BIT
32 Number of bits in a long variable
LONG_MIN
-2147483648 Minimum long value
LONG_MAX
2147483647 Maximum long value
ULONG_MAX
4294967295 Maximum unsigned long value