Limits of Integer Types for Pointer Objects

Macros that specify the minimum and maximum limits of the pointer-related types declared in <stdint.h>.

Include

<stdint.h>

Remarks

Each macro name corresponds to the <stdint.h> type with a similar name. 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
INTPTR_MIN The minimum value of a signed integer type capable of holding a pointer.
INTPTR_MAX The maximum value of a signed integer type capable of holding a pointer.
UINTPTR_MAX The maximum value of an unsigned integer type capable of holding a pointer.