7.4.19 <stdint.h>

This header file defines macros only.

Type

Definition Name

Description

Macro

int_least8_t

uint_least8_t

int_least16_t

uint_least16_t

int_least32_t

uint_least32_t

int_least64_t

uint_least64_t

Indicates the types whose size is large enough to store signed and unsigned integer types of 8, 16, 32, and 64 bits.

int_fast8_t

uint_fast8_t

int_fast16_t

uint_fast16_t

int_fast32_t

uint_fast32_t

int_fast64_t

uint_fast64_t

Indicates the types which can operate signed and unsigned integer types of 8, 16, 32, and 64 bits at the fastest speed.

intptr_t

uintptr_t

These indicate signed and unsigned integer types that can be converted to or from pointers to void.

intmax_t

uintmax_t

These indicate signed and unsigned integer types that can represent all signed and unsigned integer types.

intN_t

uintN_t

These indicate N-bit signed and unsigned inter types.

INTN_MIN
INTN_MAX
UINTN_MAX

Indicates the minimum value of exact-width signed integer type.

Indicates the maximum value of exact-width signed integer type.

Indicates the maximum value of exact-width unsigned integer type.

INT_LEASTN_MIN
INT_LEASTN_MAX
UINT_LEASTN_MAX

Indicates the minimum value of minimum-width signed integer type.

Indicates the maximum value of minimum-width signed integer type.

Indicates the maximum value of minimum-width unsigned integer type.

INT_FASTN_MIN
INT_FASTN_MAX
UINT_FASTN_MAX

Indicates the minimum value of fastest minimum-width signed integer type.

Indicates the maximum value of fastest minimum-width signed integer type.

Indicates the maximum value of fastest minimum-width unsigned integer type.

INTPTR_MIN
INTPTR_MAX
UINTPTR_MAX

Indicates the minimum value of pointer-holding signed integer type.

Indicates the maximum value of pointer-holding signed integer type.

Indicates the maximum value of pointer-holding unsigned integer type.

INTMAX_MIN
INTMAX_MAX
UINTMAX_MAX

Indicates the minimum value of greatest-width signed integer type.

Indicates the maximum value of greatest-width signed integer type.

Indicates the maximum value of greatest-width unsigned integer type.

PTRDIFF_MIN

PTRDIFF_MAX

–65535

+65535

SIG_ATOMIC_MIN

SIG_ATOMIC_MAX

–127

+127

SIZE_MAX

65535

Macro

WCHAR_MIN

WCHAR_MAX

0

65535U

WINT_MIN

WINT_MAX

0

4294967295U

Function
(macro)

INTN_C
UINTN_C

Expanded to an integer constant expression corresponding to Int_leastN_t.

Expanded to an integer constant expression corresponding to Uint_leastN_t.

INT_MAX_C
UINT_MAX_C

Expanded to an integer constant expression with type intmax_t.

Expanded to an integer constant expression with type uintmax_t.