Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
earenndil
on Jan 13, 2020
|
parent
|
context
|
favorite
| on:
How to Allocate Memory (2016)
Likely targeting c89, which doesn't have the fixed-size ints (nor size_t, as the sibling suggests).
ShroudedNight
on Jan 13, 2020
[–]
My recollection was that size_t and ptrdiff_t
were
present in c89. size_t was the type yielded by sizeof. This draft appears to corroborate my recollection:
http://port70.net/~nsz/c/c89/c89-draft.html#3.3.3.4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: