What is the difference between u_int32_t
and uint32_t
?
uint32_t
is a standard C99 type u_int32_t
is used internally in some POSIX implementations.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With