Macros that specify the minimum and maximum limits of the miscellaneous types declared in
<stdint.h>
.
Include
<stdint.h>
Remarks
Each macro name corresponds to the indicated type. The macro will expand to a constant
expression suitable for use in #if
preprocessing directives, and this
expression shall have the same type as an object of the corresponding type converted
according to the integer promotions.
Type | Description |
---|---|
PTRDIFF_MIN |
Minimum value of the ptrdiff_t
type. |
PTRDIFF_MAX |
Maximum value of the ptrdiff_t
type. |
SIG_ATOMIC_MIN |
Minimum value of the
sig_atomic_t type (see Attention note). |
SIG_ATOMIC_MAX |
Maximum value of the
sig_atomic_t type (see Attention note). |
SIZE_MAX |
Maximum value of the size_t
type. |
WCHAR_MIN |
Minimum value of the wchar_t
type (see Attention note). |
WCHAR_MAX |
Maximum value of the wchar_t
type (see Attention note). |
WINT_MIN |
Minimum value of the wint_t
type (see Attention note). |
WINT_MAX |
Maximum value of the wint_t
type (see Attention note). |