dlmeetei February 2016
Yes, you are right.
char on platforms where 1 byte is 8 bits. In platforms where it is not, appropriate definition will be given.
Following answer is based on assumption that char is
char holds 1 byte, which may be
unsigned based on implementation.
signed char and
unsigned char, but this will be safe to use int8_t/uint8_t as actual 8-bit integer with relying too much on the implementation.
For a implementer's point of view, typedeffing where char is 8 bits makes sense.
Having seen all this, It is safe to use
uint8_t as real 8 bit integer.