Y
Hacker News
new
|
ask
|
show
|
jobs
by
pjmlp
252 days ago
OS specific hack and unrelated to C.
1 comments
tredre3
252 days ago
Your comment was also OS-specific because Windows doesn't lie to applications about failed allocations.
link
pjmlp
251 days ago
Not at all, rather there is no guarantee that the C abstract machine described on ISO C, actually returns NULL on memory allocation failures as some C advocates without ISO C legalese expertise seem to advocate.
link