在头文件 <stdint.h> 中
1 /* exact-width signed integer types */
2 typedef signed char int8_t;
3 typedef signed short int int16_t;
4 typedef signed int int32_t;
5 typedef signed __int64 int64_t;
6
7 /* exact-width unsigned integer types */
8 typedef unsigned char uint8_t;
9 typedef unsigned short int uint16_t;
10 typedef unsigned int uint32_t;
11 typedef unsigned __int64 uint64_t;