PKUOS - Pintos
Pintos source browser for PKU Operating System course
Macros | Typedefs
stdint.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define INT8_MAX   127
 
#define INT8_MIN   (-INT8_MAX - 1)
 
#define INT16_MAX   32767
 
#define INT16_MIN   (-INT16_MAX - 1)
 
#define INT32_MAX   2147483647
 
#define INT32_MIN   (-INT32_MAX - 1)
 
#define INT64_MAX   9223372036854775807LL
 
#define INT64_MIN   (-INT64_MAX - 1)
 
#define UINT8_MAX   255
 
#define UINT16_MAX   65535
 
#define UINT32_MAX   4294967295U
 
#define UINT64_MAX   18446744073709551615ULL
 
#define INTPTR_MIN   INT32_MIN
 
#define INTPTR_MAX   INT32_MAX
 
#define UINTPTR_MAX   UINT32_MAX
 
#define INTMAX_MIN   INT64_MIN
 
#define INTMAX_MAX   INT64_MAX
 
#define UINTMAX_MAX   UINT64_MAX
 
#define PTRDIFF_MIN   INT32_MIN
 
#define PTRDIFF_MAX   INT32_MAX
 
#define SIZE_MAX   UINT32_MAX
 lib/stdint.h More...
 

Typedefs

typedef signed char int8_t
 
typedef signed short int int16_t
 
typedef signed int int32_t
 
typedef signed long long int int64_t
 
typedef unsigned char uint8_t
 
typedef unsigned short int uint16_t
 
typedef unsigned int uint32_t
 
typedef unsigned long long int uint64_t
 
typedef int32_t intptr_t
 
typedef uint32_t uintptr_t
 
typedef int64_t intmax_t
 
typedef uint64_t uintmax_t
 

Macro Definition Documentation

◆ INT16_MAX

#define INT16_MAX   32767

Definition at line 9 of file stdint.h.

◆ INT16_MIN

#define INT16_MIN   (-INT16_MAX - 1)

Definition at line 10 of file stdint.h.

◆ INT32_MAX

#define INT32_MAX   2147483647

Definition at line 13 of file stdint.h.

◆ INT32_MIN

#define INT32_MIN   (-INT32_MAX - 1)

Definition at line 14 of file stdint.h.

◆ INT64_MAX

#define INT64_MAX   9223372036854775807LL

Definition at line 17 of file stdint.h.

◆ INT64_MIN

#define INT64_MIN   (-INT64_MAX - 1)

Definition at line 18 of file stdint.h.

◆ INT8_MAX

#define INT8_MAX   127

Definition at line 5 of file stdint.h.

◆ INT8_MIN

#define INT8_MIN   (-INT8_MAX - 1)

Definition at line 6 of file stdint.h.

◆ INTMAX_MAX

#define INTMAX_MAX   INT64_MAX

Definition at line 41 of file stdint.h.

◆ INTMAX_MIN

#define INTMAX_MIN   INT64_MIN

Definition at line 40 of file stdint.h.

◆ INTPTR_MAX

#define INTPTR_MAX   INT32_MAX

Definition at line 34 of file stdint.h.

◆ INTPTR_MIN

#define INTPTR_MIN   INT32_MIN

Definition at line 33 of file stdint.h.

◆ PTRDIFF_MAX

#define PTRDIFF_MAX   INT32_MAX

Definition at line 47 of file stdint.h.

◆ PTRDIFF_MIN

#define PTRDIFF_MIN   INT32_MIN

Definition at line 46 of file stdint.h.

◆ SIZE_MAX

#define SIZE_MAX   UINT32_MAX

lib/stdint.h

Definition at line 51 of file stdint.h.

◆ UINT16_MAX

#define UINT16_MAX   65535

Definition at line 24 of file stdint.h.

◆ UINT32_MAX

#define UINT32_MAX   4294967295U

Definition at line 27 of file stdint.h.

◆ UINT64_MAX

#define UINT64_MAX   18446744073709551615ULL

Definition at line 30 of file stdint.h.

◆ UINT8_MAX

#define UINT8_MAX   255

Definition at line 21 of file stdint.h.

◆ UINTMAX_MAX

#define UINTMAX_MAX   UINT64_MAX

Definition at line 44 of file stdint.h.

◆ UINTPTR_MAX

#define UINTPTR_MAX   UINT32_MAX

Definition at line 37 of file stdint.h.

Typedef Documentation

◆ int16_t

typedef signed short int int16_t

Definition at line 8 of file stdint.h.

◆ int32_t

typedef signed int int32_t

Definition at line 12 of file stdint.h.

◆ int64_t

typedef signed long long int int64_t

Definition at line 16 of file stdint.h.

◆ int8_t

typedef signed char int8_t

Definition at line 4 of file stdint.h.

◆ intmax_t

typedef int64_t intmax_t

Definition at line 39 of file stdint.h.

◆ intptr_t

typedef int32_t intptr_t

Definition at line 32 of file stdint.h.

◆ uint16_t

typedef unsigned short int uint16_t

Definition at line 23 of file stdint.h.

◆ uint32_t

typedef unsigned int uint32_t

Definition at line 26 of file stdint.h.

◆ uint64_t

typedef unsigned long long int uint64_t

Definition at line 29 of file stdint.h.

◆ uint8_t

typedef unsigned char uint8_t

Definition at line 20 of file stdint.h.

◆ uintmax_t

Definition at line 43 of file stdint.h.

◆ uintptr_t

Definition at line 36 of file stdint.h.