Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mh7
on June 15, 2018
|
parent
|
context
|
favorite
| on:
Let's code a TCP/IP stack, 1: Ethernet & ARP (2016...
Since the fixed width integer types are optional, and if available must be 8, 16, 32 and 64 bits (and two's compl) I don't think CHAR_BITS > 8 is allowed if stdint.h types are supported since sizeof(uint8_t) must be 1.
caf
on June 15, 2018
[–]
They're individually optional - so uint16_t can exist without uint8_t.
But you're right - if uint8_t exists, it must be the same as unsigned char.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: