Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
magicalhippo
on April 4, 2023
|
parent
|
context
|
favorite
| on:
How SerenityOS declares ssize_t
Right, I was assuming the bytes were 8 bits[1] given sizeof(uint8_t) == 1, ie since it had uint8_t. Seems really weird to have uint8_t but have CHAR_BIT > 8.
[1]:
https://en.cppreference.com/w/c/language/sizeof
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[1]: https://en.cppreference.com/w/c/language/sizeof