1.9 KiB
[climits.syn]
17 Language support library [support]
17.3 Implementation properties [support.limits]
17.3.6 Header synopsis [climits.syn]
// all freestanding#define BOOL_WIDTH see below#define CHAR_BIT see below#define CHAR_WIDTH see below#define SCHAR_WIDTH see below#define UCHAR_WIDTH see below#define USHRT_WIDTH see below#define SHRT_WIDTH see below#define UINT_WIDTH see below#define INT_WIDTH see below#define ULONG_WIDTH see below#define LONG_WIDTH see below#define ULLONG_WIDTH see below#define LLONG_WIDTH see below#define SCHAR_MIN see below#define SCHAR_MAX see below#define UCHAR_MAX see below#define CHAR_MIN see below#define CHAR_MAX see below#define MB_LEN_MAX see below#define SHRT_MIN see below#define SHRT_MAX see below#define USHRT_MAX see below#define INT_MIN see below#define INT_MAX see below#define UINT_MAX see below#define LONG_MIN see below#define LONG_MAX see below#define ULONG_MAX see below#define LLONG_MIN see below#define LLONG_MAX see below#define ULLONG_MAX see below
The header defines all macros the same as the C standard library header <limits.h>, except that it does not define the macro BITINT_MAXWIDTH.
[Note 1:
Except for the WIDTH macros, CHAR_BIT, and MB_LEN_MAX, a macro referring to an integer type T defines a constant whose type is the promoted type of T ([conv.prom]).
â end note]
See also: ISO/IEC 9899:2024, 5.2.4.2.1