Datatypes used in C

前端 未结 4 1138
耶瑟儿~
耶瑟儿~ 2021-01-04 13:30

What is the difference between u_int32_t and uint32_t?

4条回答
  •  灰色年华
    2021-01-04 14:03

    As others have mentioned, uint32_t is a standard C99 type.

    Anyway, the takeaway is that if you're writing portable C code or C header files meant to be shared between different devices/architectures, you can use stdint.h.

提交回复
热议问题