stdint.h File Reference

Go to the source code of this file.

## Macros

#define | INT8_MIN (-128)
#define | INT16_MIN (-32767-1)
#define | INT32_MIN (-2147483647L-1)
#define | INT8_MAX (127)
#define | INT16_MAX (32767)
#define | INT32_MAX (2147483647L)
#define | UINT8_MAX (255)
#define | UINT16_MAX (65535)
#define | UINT32_MAX (4294967295UL)
#define | INT_LEAST8_MIN INT8_MIN
#define | INT_LEAST16_MIN INT16_MIN
#define | INT_LEAST32_MIN INT32_MIN
#define | INT_LEAST8_MAX INT8_MAX
#define | INT_LEAST16_MAX INT16_MAX
#define | INT_LEAST32_MAX INT32_MAX
#define | UINT_LEAST8_MAX UINT8_MAX
#define | UINT_LEAST16_MAX UINT16_MAX
#define | UINT_LEAST32_MAX UINT32_MAX
#define | INT_FAST8_MIN INT8_MIN
#define | INT_FAST16_MIN INT16_MIN
#define | INT_FAST32_MIN INT32_MIN
#define | INT_FAST8_MAX INT8_MAX
#define | INT_FAST16_MAX INT16_MAX
#define | INT_FAST32_MAX INT32_MAX
#define | UINT_FAST8_MAX UINT8_MAX
#define | UINT_FAST16_MAX UINT16_MAX
#define | UINT_FAST32_MAX UINT32_MAX
#define | INTPTR_MIN (-32767-1)
#define | INTPTR_MAX (32767)
#define | UINTPTR_MAX (65535)
#define | INTMAX_MIN (-2147483647L-1)
#define | INTMAX_MAX (2147483647L)
#define | UINTMAX_MAX (4294967295UL)
#define | PTRDIFF_MIN (-32767-1)
#define | PTRDIFF_MAX (32767)
#define | SIG_ATOMIC_MIN (0)
#define | SIG_ATOMIC_MAX (255)
#define | SIZE_MAX (65535u)
#define | INT8_C(c) c
#define | INT16_C(c) c
#define | INT32_C(c) c ## L
#define | UINT8_C(c) c ## U
#define | UINT16_C(c) c ## U
#define | UINT32_C(c) c ## UL
#define | WCHAR_MIN 0
#define | WCHAR_MAX 0xffffffff
#define | WINT_MIN 0
#define | WINT_MAX 0xffffffff
#define | INTMAX_C(c) c ## L
#define | UINTMAX_C(c) c ## UL

## Typedefs

typedef signed char | int8_t
typedef short int | int16_t
typedef long int | int32_t
typedef unsigned char | uint8_t
typedef unsigned short int | uint16_t
typedef unsigned long int | uint32_t
typedef signed char | int_least8_t
typedef short int | int_least16_t
typedef long int | int_least32_t
typedef unsigned char | uint_least8_t
typedef unsigned short int | uint_least16_t
typedef unsigned long int | uint_least32_t
typedef signed char | int_fast8_t
typedef int | int_fast16_t
typedef long int | int_fast32_t
typedef unsigned char | uint_fast8_t
typedef unsigned int | uint_fast16_t
typedef unsigned long int | uint_fast32_t
typedef int | intptr_t
typedef unsigned int | uintptr_t
typedef long int | intmax_t
typedef unsigned long int | uintmax_t

## Macro Definition Documentation

## INT8_MIN

#define INT8_MIN (-128)

## INT16_MIN

#define INT16_MIN (-32767-1)

## INT32_MIN

#define INT32_MIN (-2147483647L-1)

## INT8_MAX

#define INT8_MAX (127)

## INT16_MAX

#define INT16_MAX (32767)

## INT32_MAX

#define INT32_MAX (2147483647L)

## UINT8_MAX

#define UINT8_MAX (255)

## UINT16_MAX

#define UINT16_MAX (65535)

## UINT32_MAX

#define UINT32_MAX (4294967295UL)

## INT_LEAST8_MIN

#define INT_LEAST8_MIN INT8_MIN

## INT_LEAST16_MIN

#define INT_LEAST16_MIN INT16_MIN

## INT_LEAST32_MIN

#define INT_LEAST32_MIN INT32_MIN

## INT_LEAST8_MAX

#define INT_LEAST8_MAX INT8_MAX

## INT_LEAST16_MAX

#define INT_LEAST16_MAX INT16_MAX

## INT_LEAST32_MAX

#define INT_LEAST32_MAX INT32_MAX

## UINT_LEAST8_MAX

#define UINT_LEAST8_MAX UINT8_MAX

## UINT_LEAST16_MAX

#define UINT_LEAST16_MAX UINT16_MAX

## UINT_LEAST32_MAX

#define UINT_LEAST32_MAX UINT32_MAX

## INT_FAST8_MIN

#define INT_FAST8_MIN INT8_MIN

## INT_FAST16_MIN

#define INT_FAST16_MIN INT16_MIN

## INT_FAST32_MIN

#define INT_FAST32_MIN INT32_MIN

## INT_FAST8_MAX

#define INT_FAST8_MAX INT8_MAX

## INT_FAST16_MAX

#define INT_FAST16_MAX INT16_MAX

## INT_FAST32_MAX

#define INT_FAST32_MAX INT32_MAX

## UINT_FAST8_MAX

#define UINT_FAST8_MAX UINT8_MAX

## UINT_FAST16_MAX

#define UINT_FAST16_MAX UINT16_MAX

## UINT_FAST32_MAX

#define UINT_FAST32_MAX UINT32_MAX

## INTPTR_MIN

#define INTPTR_MIN (-32767-1)

## INTPTR_MAX

#define INTPTR_MAX (32767)

## UINTPTR_MAX

#define UINTPTR_MAX (65535)

## INTMAX_MIN

#define INTMAX_MIN (-2147483647L-1)

## INTMAX_MAX

#define INTMAX_MAX (2147483647L)

## UINTMAX_MAX

#define UINTMAX_MAX (4294967295UL)

## PTRDIFF_MIN

#define PTRDIFF_MIN (-32767-1)

## PTRDIFF_MAX

#define PTRDIFF_MAX (32767)

## SIG_ATOMIC_MIN

#define SIG_ATOMIC_MIN (0)

## SIG_ATOMIC_MAX

#define SIG_ATOMIC_MAX (255)

## SIZE_MAX

#define SIZE_MAX (65535u)

## INT8_C

#define INT8_C | ( |  | c | ) | c

## INT16_C

#define INT16_C | ( |  | c | ) | c

## INT32_C

#define INT32_C | ( |  | c | ) | c ## L

## UINT8_C

#define UINT8_C | ( |  | c | ) | c ## U

## UINT16_C

#define UINT16_C | ( |  | c | ) | c ## U

## UINT32_C

#define UINT32_C | ( |  | c | ) | c ## UL

## WCHAR_MIN

#define WCHAR_MIN 0

## WCHAR_MAX

#define WCHAR_MAX 0xffffffff

## WINT_MIN

#define WINT_MIN 0

## WINT_MAX

#define WINT_MAX 0xffffffff

## INTMAX_C

#define INTMAX_C | ( |  | c | ) | c ## L

## UINTMAX_C

#define UINTMAX_C | ( |  | c | ) | c ## UL

## Typedef Documentation

## int8_t

typedef signed char int8_t

## int16_t

typedef short int int16_t

## int32_t

typedef long int int32_t

## uint8_t

typedef unsigned char uint8_t

## uint16_t

typedef unsigned short int uint16_t

## uint32_t

typedef unsigned long int uint32_t

## int_least8_t

typedef signed char int_least8_t

## int_least16_t

typedef short int int_least16_t

## int_least32_t

typedef long int int_least32_t

## uint_least8_t

typedef unsigned char uint_least8_t

## uint_least16_t

typedef unsigned short int uint_least16_t

## uint_least32_t

typedef unsigned long int uint_least32_t

## int_fast8_t

typedef signed char int_fast8_t

## int_fast16_t

typedef int int_fast16_t

## int_fast32_t

typedef long int int_fast32_t

## uint_fast8_t

typedef unsigned char uint_fast8_t

## uint_fast16_t

typedef unsigned int uint_fast16_t

## uint_fast32_t

typedef unsigned long int uint_fast32_t

## intptr_t

typedef int intptr_t

## uintptr_t

typedef unsigned int uintptr_t

## intmax_t

typedef long int intmax_t

## uintmax_t

typedef unsigned long int uintmax_t