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;

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章