- Main Page
- Data Structures
- Files
- Related Pages

- File List
- Globals

# stdint.h File Reference

`#include <stddef.h>`

Include dependency graph for stdint.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Defines
#define | INT16_C(val) ((int16_t) + (val))
#define | INT16_MAX 32767
#define | INT16_MIN (-32768)
#define | INT32_C(val) (val##L)
#define | INT32_MAX 2147483647
#define | INT32_MIN (-2147483647 - 1)
#define | INT64_C(val) (val##LL)
#define | INT64_MAX 9223372036854775807LL
#define | INT64_MIN (-9223372036854775807LL - 1)
#define | INT8_C(val) ((int8_t) + (val))
#define | INT8_MAX 127
#define | INT8_MIN (-128)
#define | INT_FAST16_MAX INT16_MAX
#define | INT_FAST16_MIN INT16_MIN
#define | INT_FAST32_MAX INT32_MAX
#define | INT_FAST32_MIN INT32_MIN
#define | INT_FAST64_MAX INT64_MAX
#define | INT_FAST64_MIN INT64_MIN
#define | INT_FAST8_MAX INT8_MAX
#define | INT_FAST8_MIN INT8_MIN
#define | INT_LEAST16_MAX INT16_MAX
#define | INT_LEAST16_MIN INT16_MIN
#define | INT_LEAST32_MAX INT32_MAX
#define | INT_LEAST32_MIN INT32_MIN
#define | INT_LEAST64_MAX INT64_MAX
#define | INT_LEAST64_MIN INT64_MIN
#define | INT_LEAST8_MAX INT8_MAX
#define | INT_LEAST8_MIN INT8_MIN
#define | INTMAX_C(val) INT64_C(val)
#define | INTMAX_MAX INT64_MAX
#define | INTMAX_MIN INT64_MIN
#define | INTPTR_MAX INT32_MAX
#define | INTPTR_MIN INT32_MIN
#define | PTRDIFF_MAX ((ptrdiff_t)-1)
#define | PTRDIFF_MIN (-PTRDIFF_MAX)
#define | SIZE_MAX ((size_t)-1)
#define | UINT16_C(val) ((uint16_t) + (val##U))
#define | UINT16_MAX 0xffff
#define | UINT32_C(val) (val##UL)
#define | UINT32_MAX 0xffffffff
#define | UINT64_C(val) (val##ULL)
#define | UINT64_MAX 0xffffffffffffffffULL
#define | UINT8_C(val) ((uint8_t) + (val##U))
#define | UINT8_MAX 0xff
#define | UINT_FAST16_MAX UINT16_MAX
#define | UINT_FAST32_MAX UINT32_MAX
#define | UINT_FAST64_MAX UINT64_MAX
#define | UINT_FAST8_MAX UINT8_MAX
#define | UINT_LEAST16_MAX UINT16_MAX
#define | UINT_LEAST32_MAX UINT32_MAX
#define | UINT_LEAST64_MAX UINT64_MAX
#define | UINT_LEAST8_MAX UINT8_MAX
#define | UINTMAX_C(val) UINT64_C(val)
#define | UINTMAX_MAX UINT64_MAX
#define | UINTPTR_MAX UINT32_MAX
## Typedefs
typedef signed short | int16_t
typedef signed long | int32_t
typedef signed long long | int64_t
typedef signed char | int8_t
typedef signed short | int_fast16_t
typedef signed long | int_fast32_t
typedef signed long long | int_fast64_t
typedef signed char | int_fast8_t
typedef signed short | int_least16_t
typedef signed long | int_least32_t
typedef signed long long | int_least64_t
typedef signed char | int_least8_t
typedef signed long long | intmax_t
typedef unsigned short | uint16_t
typedef unsigned long | uint32_t
typedef unsigned long long | uint64_t
typedef unsigned char | uint8_t
typedef unsigned short | uint_fast16_t
typedef unsigned long | uint_fast32_t
typedef unsigned long long | uint_fast64_t
typedef unsigned char | uint_fast8_t
typedef unsigned short | uint_least16_t
typedef unsigned long | uint_least32_t
typedef unsigned long long | uint_least64_t
typedef unsigned char | uint_least8_t
typedef unsigned long long | uintmax_t

## Define Documentation

#define INT16_C | ( | val |  | ) | ((int16_t) + (val))

Definition at line 151 of file stdint.h.

#define INT16_MAX 32767

Definition at line 77 of file stdint.h.

#define INT16_MIN (-32768)

Definition at line 72 of file stdint.h.

#define INT32_C | ( | val |  | ) | (val##L)

Definition at line 154 of file stdint.h.

#define INT32_MAX 2147483647

Definition at line 78 of file stdint.h.

#define INT32_MIN (-2147483647 - 1)

Definition at line 73 of file stdint.h.

#define INT64_C | ( | val |  | ) | (val##LL)

Definition at line 156 of file stdint.h.

#define INT64_MAX 9223372036854775807LL

Definition at line 79 of file stdint.h.

#define INT64_MIN (-9223372036854775807LL - 1)

Definition at line 74 of file stdint.h.

#define INT8_C | ( | val |  | ) | ((int8_t) + (val))

Definition at line 149 of file stdint.h.

#define INT8_MAX 127

Definition at line 76 of file stdint.h.

#define INT8_MIN (-128)

Definition at line 71 of file stdint.h.

#define INT_FAST16_MAX INT16_MAX

Definition at line 109 of file stdint.h.

#define INT_FAST16_MIN INT16_MIN

Definition at line 104 of file stdint.h.

#define INT_FAST32_MAX INT32_MAX

Definition at line 110 of file stdint.h.

#define INT_FAST32_MIN INT32_MIN

Definition at line 105 of file stdint.h.

#define INT_FAST64_MAX INT64_MAX

Definition at line 111 of file stdint.h.

#define INT_FAST64_MIN INT64_MIN

Definition at line 106 of file stdint.h.

#define INT_FAST8_MAX INT8_MAX

Definition at line 108 of file stdint.h.

#define INT_FAST8_MIN INT8_MIN

Definition at line 103 of file stdint.h.

#define INT_LEAST16_MAX INT16_MAX

Definition at line 93 of file stdint.h.

#define INT_LEAST16_MIN INT16_MIN

Definition at line 88 of file stdint.h.

#define INT_LEAST32_MAX INT32_MAX

Definition at line 94 of file stdint.h.

#define INT_LEAST32_MIN INT32_MIN

Definition at line 89 of file stdint.h.

#define INT_LEAST64_MAX INT64_MAX

Definition at line 95 of file stdint.h.

#define INT_LEAST64_MIN INT64_MIN

Definition at line 90 of file stdint.h.

#define INT_LEAST8_MAX INT8_MAX

Definition at line 92 of file stdint.h.

#define INT_LEAST8_MIN INT8_MIN

Definition at line 87 of file stdint.h.

#define INTMAX_C | ( | val |  | ) | INT64_C(val)

Definition at line 160 of file stdint.h.

#define INTMAX_MAX INT64_MAX

Definition at line 126 of file stdint.h.

#define INTMAX_MIN INT64_MIN

Definition at line 125 of file stdint.h.

#define INTPTR_MAX INT32_MAX

Definition at line 121 of file stdint.h.

#define INTPTR_MIN INT32_MIN

Definition at line 120 of file stdint.h.

#define PTRDIFF_MAX ((ptrdiff_t)-1)

Definition at line 130 of file stdint.h.

#define PTRDIFF_MIN (-PTRDIFF_MAX)

Definition at line 131 of file stdint.h.

#define SIZE_MAX ((size_t)-1)

Definition at line 133 of file stdint.h.

#define UINT16_C | ( | val |  | ) | ((uint16_t) + (val##U))

Definition at line 152 of file stdint.h.

#define UINT16_MAX 0xffff

Definition at line 82 of file stdint.h.

#define UINT32_C | ( | val |  | ) | (val##UL)

Definition at line 155 of file stdint.h.

#define UINT32_MAX 0xffffffff

Definition at line 83 of file stdint.h.

#define UINT64_C | ( | val |  | ) | (val##ULL)

Definition at line 157 of file stdint.h.

#define UINT64_MAX 0xffffffffffffffffULL

Definition at line 84 of file stdint.h.

#define UINT8_C | ( | val |  | ) | ((uint8_t) + (val##U))

Definition at line 150 of file stdint.h.

#define UINT8_MAX 0xff

Definition at line 81 of file stdint.h.

#define UINT_FAST16_MAX UINT16_MAX

Definition at line 114 of file stdint.h.

#define UINT_FAST32_MAX UINT32_MAX

Definition at line 115 of file stdint.h.

#define UINT_FAST64_MAX UINT64_MAX

Definition at line 116 of file stdint.h.

#define UINT_FAST8_MAX UINT8_MAX

Definition at line 113 of file stdint.h.

#define UINT_LEAST16_MAX UINT16_MAX

Definition at line 98 of file stdint.h.

#define UINT_LEAST32_MAX UINT32_MAX

Definition at line 99 of file stdint.h.

#define UINT_LEAST64_MAX UINT64_MAX

Definition at line 100 of file stdint.h.

#define UINT_LEAST8_MAX UINT8_MAX

Definition at line 97 of file stdint.h.

#define UINTMAX_C | ( | val |  | ) | UINT64_C(val)

Definition at line 161 of file stdint.h.

#define UINTMAX_MAX UINT64_MAX

Definition at line 127 of file stdint.h.

#define UINTPTR_MAX UINT32_MAX

Definition at line 122 of file stdint.h.

## Typedef Documentation

typedef signed short int16_t

Definition at line 28 of file stdint.h.

typedef signed long int32_t

Definition at line 30 of file stdint.h.

typedef signed long long int64_t

Definition at line 32 of file stdint.h.

typedef signed char int8_t

Definition at line 26 of file stdint.h.

typedef signed short int_fast16_t

Definition at line 51 of file stdint.h.

typedef signed long int_fast32_t

Definition at line 53 of file stdint.h.

typedef signed long long int_fast64_t

Definition at line 55 of file stdint.h.

typedef signed char int_fast8_t

Definition at line 49 of file stdint.h.

typedef signed short int_least16_t

Definition at line 38 of file stdint.h.

typedef signed long int_least32_t

Definition at line 40 of file stdint.h.

typedef signed long long int_least64_t

Definition at line 42 of file stdint.h.

typedef signed char int_least8_t

Definition at line 36 of file stdint.h.

typedef signed long long intmax_t

Definition at line 64 of file stdint.h.

typedef unsigned short uint16_t

Definition at line 29 of file stdint.h.

typedef unsigned long uint32_t

Definition at line 31 of file stdint.h.

typedef unsigned long long uint64_t

Definition at line 33 of file stdint.h.

typedef unsigned char uint8_t

Definition at line 27 of file stdint.h.

typedef unsigned short uint_fast16_t

Definition at line 52 of file stdint.h.

typedef unsigned long uint_fast32_t

Definition at line 54 of file stdint.h.

typedef unsigned long long uint_fast64_t

Definition at line 56 of file stdint.h.

typedef unsigned char uint_fast8_t

Definition at line 50 of file stdint.h.

typedef unsigned short uint_least16_t

Definition at line 39 of file stdint.h.

typedef unsigned long uint_least32_t

Definition at line 41 of file stdint.h.

typedef unsigned long long uint_least64_t

Definition at line 43 of file stdint.h.

typedef unsigned char uint_least8_t

Definition at line 37 of file stdint.h.

typedef unsigned long long uintmax_t

Definition at line 65 of file stdint.h.