6.17.13 Limits of Other Integer Types
Macros that specify the minimum and maximum limits of the miscellaneous types declared in
<stdint.h>
.
Attention: The macros relating to wide characters are implemented only by MPLAB
XC32 compilers. The macros relating to signals are not implemented by MPLAB XC8 for PIC
MCUs. Limited support of signals is provided by MPLAB XC8 for AVR MCUs.
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). |