Allowing small allocations to fail
Allowing small allocations to fail
Posted Mar 11, 2015 12:22 UTC (Wed) by mathstuf (subscriber, #69389)In reply to: Allowing small allocations to fail by andresfreund
Parent article: Allowing small allocations to fail
Close returning failure already has confusing semantics. Is the FD closed? So far, Linux won't leave it open while HP-UX will. There was an article on it here not too long ago and I think a bug was filed for POSIX to specify it as "must be closed".