limits.h File Reference

CHAR_BIT

Number of bits in a `char'.

MB_LEN_MAX

Maximum length of any multibyte character in any locale. Locale-writers should change this as necessary.

SCHAR_MIN

Minimum and maximum values a `signed char' can hold.

SCHAR_MAX

UCHAR_MAX

Maximum value an `unsigned char' can hold. (Minimum is 0.)

CHAR_MIN

Minimum and maximum values a `char' can hold. The sign of "char" is probably dictated by a command-line switch to your compiler. MSVC will define _CHAR_UNSIGNED if the /J option is used. GCC uses --unsigned-char (and friends) to override the default for the target processor and defines a symbol __CHAR_UNSIGNED__ if appropriate.

CHAR_MAX

SHRT_MIN

Minimum and maximum values a `signed short int' can hold.

SHRT_MAX

USHRT_MAX

Maximum value an `unsigned short int' can hold. (Minimum is 0.)

INT_MIN

Minimum and maximum values a `signed int' can hold.

INT_MAX

UINT_MAX

Maximum value an `unsigned int' can hold. (Minimum is 0.)

LONG_MIN

Minimum and maximum values a `signed long int' can hold.

LONG_MAX

ULONG_MAX

Maximum value an `unsigned long int' can hold. (Minimum is 0.)