stdint.h

来自「Bacnet protocol stack for linux」· C头文件 代码 · 共 19 行

H
19
字号
/* Defines the standard integer types that are used in code */

#ifndef STDINT_H
#define STDINT_H 1

#include <stddef.h>

typedef unsigned char uint8_t;  /* 1 byte  0 to 255 */
typedef signed char int8_t;     /* 1 byte -127 to 127 */
typedef unsigned short uint16_t;        /* 2 bytes 0 to 65535 */
typedef signed short int16_t;   /* 2 bytes -32767 to 32767 */
/*typedef unsigned short long uint24_t;  // 3 bytes 0 to 16777215 */
typedef unsigned long uint32_t; /* 4 bytes 0 to 4294967295 */
typedef signed long int32_t;    /* 4 bytes -2147483647 to 2147483647 */
/* typedef signed long long   int64_t; */
/* typedef unsigned long long uint64_t; */

#endif /* STDINT_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?