3 ms·
> fixed-width numeric types uint32_t and friends instead of the implementation-defined unsigned int/long. See http://pubs.opengroup.org/onlinepubs/007904975/b
by yuubi 10y ago
> fixed-width numeric types
uint32_t and friends instead of the implementation-defined unsigned int/long.
See http://pubs.opengroup.org/onlinepubs/007904975/basedefs/stdint.h.html http://pubs.opengroup.org/onlinepubs/007904975/basedefs/stdi... for many details (including things like the name for "the fastest signed integer type with at least 8 bits", which could be signed char on machines that support byte access in hardware and signed 32-bit on machines where byte addressing means loading a word, bit-bashing the new value in, and storing it back).