2 ms·
I mean, these are literally all special values that are explicitly called out in all the relevant standards (both ISO C and POSIX). Anyone who is competent and
by int_19h 1y ago
I mean, these are literally all special values that are explicitly called out in all the relevant standards (both ISO C and POSIX). Anyone who is competent and is writing tests for libc would surely cover that.
- kragen 1y agoProbably malloc(0) is not completely untested, yes. But it's unlikely to be regularly executed by applications.