QNX中的数据类型

我们平常用c语言定义数据类型都是int什么的,没有考虑硬件,

但是当应用在嵌入式系统,比如QNX系统时,经常会节约空间,会用到位,

int型数据也会尽量取节约空间,于是就存在不同位数的

typedef _Int8t                    int8_t;
typedef _Uint8t                  uint8_t;
typedef _Int16t                    int16_t;
typedef _Uint16t                uint16_t;
typedef _Int32t                    int32_t;
typedef _Uint32t                uint32_t;
typedef _Int64t                    int64_t;
typedef _Uint64t                uint64_t;

发布了100 篇原创文章 · 获赞 26 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/modi000/article/details/105380242