Standard library header <limits.h>
From cppreference.com
C
Concurrency support (C11)
Standard Library headers
<stdmchar.h> (C29)
<stdnoreturn.h> (C11*)
<tgmath.h> (C99)
<threads.h> (C11)
<uchar.h> (C11)
<wchar.h> (C95)
<wctype.h> (C95)
This header is part of the type support library, in particular it's part of the C numeric limits interface.
Limits of core language integer types
BOOL_WIDTH
(C23)
(macro constant)
BOOL_MAX
(C29)
(macro constant)
CHAR_WIDTH
(C23)
CHAR_BIT
(macro constant)
SCHAR_WIDTHSHRT_WIDTHINT_WIDTHLONG_WIDTHLLONG_WIDTH
(C23)(C23)(C23)(C23)(C23)
(macro constant)
SCHAR_MINSHRT_MININT_MINLONG_MINLLONG_MIN
(C99)
(macro constant) [edit]
SCHAR_MAXSHRT_MAXINT_MAXLONG_MAXLLONG_MAX
(C99)
(macro constant) [edit]
UCHAR_WIDTHUSHRT_WIDTHUINT_WIDTHULONG_WIDTHULLONG_WIDTH
(C23)(C23)(C23)(C23)(C23)
(macro constant)
UCHAR_MAXUSHRT_MAXUINT_MAXULONG_MAXULLONG_MAX
(C99)
unsigned long and unsigned long long respectively
(macro constant) [edit]
BITINT_MAXWIDTH
(C23)
ULLONG_WIDTH
(macro constant)
[edit] Synopsis
#define __STDC_VERSION_LIMITS_H__ 202311L #define BITINT_MAXWIDTH /* see description */ #define BOOL_MAX /* see description */ #define BOOL_WIDTH /* see description */ #define CHAR_BIT /* see description */ #define CHAR_MAX /* see description */ #define CHAR_MIN /* see description */ #define CHAR_WIDTH /* see description */ #define INT_MAX /* see description */ #define INT_MIN /* see description */ #define INT_WIDTH /* see description */ #define LLONG_MAX /* see description */ #define LLONG_MIN /* see description */ #define LLONG_WIDTH /* see description */ #define LONG_MAX /* see description */ #define LONG_MIN /* see description */ #define LONG_WIDTH /* see description */ #define MB_LEN_MAX /* see description */ #define SCHAR_MAX /* see description */ #define SCHAR_MIN /* see description */ #define SCHAR_WIDTH /* see description */ #define SHRT_MAX /* see description */ #define SHRT_MIN /* see description */ #define SHRT_WIDTH /* see description */ #define UCHAR_MAX /* see description */ #define UCHAR_WIDTH /* see description */ #define UINT_MAX /* see description */ #define UINT_WIDTH /* see description */ #define ULLONG_MAX /* see description */ #define ULLONG_WIDTH /* see description */ #define ULONG_MAX /* see description */ #define ULONG_WIDTH /* see description */ #define USHRT_MAX /* see description */ #define USHRT_WIDTH /* see description */