Standard library header <stdint.h> (C99)
From cppreference.net
此头文件属于 类型支持 库的一部分,提供 固定宽度整数类型 以及 数值极限 接口的部分功能。
|
本节内容不完整
原因:7.22 整型类型 <stdint.h>,需复制/共享 c/types/integer 和 c/types/limits 中的部分内容 |
概要
|
本部分内容尚不完整
原因:B.21 整数类型 <stdint.h> |
typedef /*signed-integer-type*/ int8_t ; // 可选 typedef /*signed-integer-type*/ int16_t ; // 可选 typedef /*signed-integer-type*/ int32_t ; // 可选 typedef /*signed-integer-type*/ int64_t ; // 可选 typedef /* see description */ intN_t ; // 可选,参见描述 typedef /*signed-integer-type*/ int_fast8_t ; typedef /*signed-integer-type*/ int_fast16_t ; typedef /*signed-integer-type*/ int_fast32_t ; typedef /*signed-integer-type*/ int_fast64_t ; typedef /* see description */ int_fastN_t ; // 可选,参见描述 typedef /*signed-integer-type*/ int_least8_t ; typedef /*signed-integer-type*/ int_least16_t ; typedef /*signed-integer-type*/ int_least32_t ; typedef /*signed-integer-type*/ int_least64_t ; typedef /* see description */ int_leastN_t ; // 可选,参见描述 typedef /*signed-integer-type*/ intmax_t ; typedef /*signed-integer-type*/ intptr_t ; // 可选 typedef /*unsigned-integer-type*/ uint8_t ; // 可选 typedef /*unsigned-integer-type*/ uint16_t ; // 可选 typedef /*unsigned-integer-type*/ uint32_t ; // 可选 typedef /*unsigned-integer-type*/ uint64_t ; // 可选 typedef /* see description */ uintN_t ; // 可选,参见描述 typedef /*unsigned-integer-type*/ uint_fast8_t ; typedef /*unsigned-integer-type*/ uint_fast16_t ; typedef /*unsigned-integer-type*/ uint_fast32_t ; typedef /*unsigned-integer-type*/ uint_fast64_t ; typedef /* see description */ uint_fastN_t ; // 可选,参见描述 typedef /*unsigned-integer-type*/ uint_least8_t ; typedef /*unsigned-integer-type*/ uint_least16_t ; typedef /*unsigned-integer-type*/ uint_least32_t ; typedef /*unsigned-integer-type*/ uint_least64_t ; typedef /* see description */ uint_leastN_t ; // 可选,参见描述 typedef /*unsigned-integer-type*/ uintmax_t ; typedef /*unsigned-integer-type*/ uintptr_t ; // 可选 #define INTN_MIN /* see description */ #define INTN_MAX /* see description */ #define UINTN_MAX /* see description */ #define INT_FASTN_MIN /* see description */ #define INT_FASTN_MAX /* see description */ #define UINT_FASTN_MAX /* see description */ #define INT_LEASTN_MIN /* see description */ #define INT_LEASTN_MAX /* see description */ #define UINT_LEASTN_MAX /* see description */ #define INTMAX_MIN /* see description */ #define INTMAX_MAX /* see description */ #define UINTMAX_MAX /* see description */ #define INTPTR_MIN /* see description */ // 可选 #define INTPTR_MAX /* see description */ // 可选 #define UINTPTR_MAX /* see description */ // 可选 #define PTRDIFF_MIN /* see description */ #define PTRDIFF_MAX /* see description */ #define SIZE_MAX /* see description */ #define SIG_ATOMIC_MIN /* see description */ #define SIG_ATOMIC_MAX /* see description */ #define WCHAR_MIN /* see description */ #define WCHAR_MAX /* see description */ #define WINT_MIN /* see description */ #define WINT_MAX /* see description */ #define INTN_C(value) /* see description */ #define UINTN_C(value) /* see description */ #define INTMAX_C(value) /* see description */ #define UINTMAX_C(value) /* see description */
仅当实现定义了
__STDC_LIB_EXT1__
且用户代码在包含
stdint.h
之前额外定义了
__STDC_WANT_LIB_EXT1__
时:
#if defined(__STDC_WANT_LIB_EXT1__) #define RSIZE_MAX /* 查看描述 */ #endif