Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
riceart
on April 4, 2023
|
parent
|
context
|
favorite
| on:
How SerenityOS declares ssize_t
This isn’t particularly uncommon or without precedent. This is just treating SIZE_MAX as the sentinel value of an otherwise unsigned type. This is what is done for std::dynamic_extent in C++ for instance.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: