Software APIs
Macros | Typedefs
stdint.h File Reference

(92ac304)

C library Integer types (Freestanding) More...

Go to the source code of this file.

Macros

#define INT8_MIN
 
#define INT8_MAX
 
#define UINT8_MAX
 
#define INT16_MIN
 
#define INT16_MAX
 
#define UINT16_MAX
 
#define INT32_MIN
 
#define INT32_MAX
 
#define UINT32_MAX
 
#define INT64_MIN
 
#define INT64_MAX
 
#define UINT64_MAX
 
#define INT_LEAST8_MIN
 
#define INT_LEAST8_MAX
 
#define UINT_LEAST8_MAX
 
#define INT_LEAST16_MIN
 
#define INT_LEAST16_MAX
 
#define UINT_LEAST16_MAX
 
#define INT_LEAST32_MIN
 
#define INT_LEAST32_MAX
 
#define UINT_LEAST32_MAX
 
#define INT_LEAST64_MIN
 
#define INT_LEAST64_MAX
 
#define UINT_LEAST64_MAX
 
#define INT_FAST8_MIN
 
#define INT_FAST8_MAX
 
#define UINT_FAST8_MAX
 
#define INT_FAST16_MIN
 
#define INT_FAST16_MAX
 
#define UINT_FAST16_MAX
 
#define INT_FAST32_MIN
 
#define INT_FAST32_MAX
 
#define UINT_FAST32_MAX
 
#define INT_FAST64_MIN
 
#define INT_FAST64_MAX
 
#define UINT_FAST64_MAX
 
#define INTPTR_MIN
 
#define INTPTR_MAX
 
#define UINTPTR_MAX
 
#define INTMAX_MIN
 
#define INTMAX_MAX
 
#define UINTMAX_MAX
 
#define PTRDIFF_MIN
 
#define PTRDIFF_MAX
 
#define SIZE_MAX
 
#define WCHAR_MIN
 
#define WCHAR_MAX
 
#define INT8_C(value)
 
#define INT16_C(value)
 
#define INT32_C(value)
 
#define INT64_C(value)
 
#define INTMAX_C(value)
 
#define UINT8_C(value)
 
#define UINT16_C(value)
 
#define UINT32_C(value)
 
#define UINT64_C(value)
 
#define UINTMAX_C(value)
 

Typedefs

typedef __UINT8_TYPE__ uint8_t
 
typedef __UINT16_TYPE__ uint16_t
 
typedef __UINT32_TYPE__ uint32_t
 
typedef __UINT64_TYPE__ uint64_t
 
typedef __INT8_TYPE__ int8_t
 
typedef __INT16_TYPE__ int16_t
 
typedef __INT32_TYPE__ int32_t
 
typedef __INT64_TYPE__ int64_t
 
typedef __UINT_LEAST8_TYPE__ uint_least8_t
 
typedef __UINT_LEAST16_TYPE__ uint_least16_t
 
typedef __UINT_LEAST32_TYPE__ uint_least32_t
 
typedef __UINT_LEAST64_TYPE__ uint_least64_t
 
typedef __INT_LEAST8_TYPE__ int_least8_t
 
typedef __INT_LEAST16_TYPE__ int_least16_t
 
typedef __INT_LEAST32_TYPE__ int_least32_t
 
typedef __INT_LEAST64_TYPE__ int_least64_t
 
typedef __UINT_FAST8_TYPE__ uint_fast8_t
 
typedef __UINT_FAST16_TYPE__ uint_fast16_t
 
typedef __UINT_FAST32_TYPE__ uint_fast32_t
 
typedef __UINT_FAST64_TYPE__ uint_fast64_t
 
typedef __INT_FAST8_TYPE__ int_fast8_t
 
typedef __INT_FAST16_TYPE__ int_fast16_t
 
typedef __INT_FAST32_TYPE__ int_fast32_t
 
typedef __INT_FAST64_TYPE__ int_fast64_t
 
typedef __UINTPTR_TYPE__ uintptr_t
 
typedef __INTPTR_TYPE__ intptr_t
 
typedef __UINTMAX_TYPE__ uintmax_t
 
typedef __INTMAX_TYPE__ intmax_t
 

Detailed Description

C library Integer types (Freestanding)

This header implements the stdint.h standard header, as required by C11 S4p6. This header is specified in detail in S7.20 the same.

Actual limit values below are defined as:

It goes without saying that this file assumes the underlying representation is two's complement and little-endian.

See https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md for the RISC-V specifics this file conforms to.

Definition in file stdint.h.