inttypes.h File

Purpose

Contains fixed size integral types.

Syntax

#include <inttypes.h>

Description

The inttypes.h header includes definitions of, at least, the following types:

Item Description
int8_t 8-bit signed integral type.
int16_t 16-bit signed integral type.
int32_t 32-bit signed integral type.
int64_t 64-bit signed integral type.
uint8_t 8-bit unsigned integral type.
uint16_t 16-bit unsigned integral type.
uint32_t 32-bit unsigned integral type.
uint64_t 64-bit unsigned integral type.
intptr_t Signed integral type large enough to hold any pointer.
uintptr_t Unsigned integral type large enough to hold any pointer.