Hacker News new | ask | show | jobs
by pjmlp 252 days ago
OS specific hack and unrelated to C.
1 comments

Your comment was also OS-specific because Windows doesn't lie to applications about failed allocations.
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.