News for hackers. Stuff that matters.
Re:POSIX close(2) is broken by ScottBurson on Saturday December 17, 2011 @12:27PM (#3364614)
Yes, exactly. I don't understand why the Unix guys didn't solve this in libc, where it's both easy and simple (provided the system call returns all the information needed, as it surely would have been made to do had this approach been taken).

Sure, occasionally someone will need to issue the bare system call without the libc wrapper, but that could have a different name, e.g. '_close'.

There are no comments on this comment yet.