2 ms·
> I believe all current major implementations typedef `uint8_t` to `unsigned char` That can't be right, because CHAR_BIT is not always 8.
by saagarjha 8y ago
> I believe all current major implementations typedef `uint8_t` to `unsigned char`
That can't be right, because CHAR_BIT is not always 8.
- maccard 8y agoPractically speaking, for most people these days it is. POSIX specifies 8 bits and windows uses it. If you're working with a larger bit char, you're most likely well aware of it (offhand, some TI embedded chips are the only ones I know of, and even theyre rare!)
- quietbritishjim 8y agoIt depends on what you count as a "major implementation".