3 ms·
Ok, let me rephrase then: On modern systems, checking the return value of malloc() is not a proper way to check that the system is out of memory and therefore
by bnegreve 12y ago
Ok, let me rephrase then:
On modern systems, checking the return value of malloc() is not a proper way to check that the system is out of memory and therefore it doesn't guarantee that the program will run correctly in any case.
That's what I wanted to point, and I agree that it remains useful to detect other types of errors such as the ones you mentioned.