Too simple to fail
Too simple to fail
Posted Mar 12, 2015 15:20 UTC (Thu) by tdz (subscriber, #58733)In reply to: Too simple to fail by lgeorget
Parent article: Allowing small allocations to fail
Any user-space program with that attitude will break sooner or later. The ERRORS sections in the man pages should not be seen as exclusive lists of possible errors. Rather the errno value coming out of the kernel or libc should be seen as a hint on what went wrong.