News for hackers. Stuff that matters.

iiirogers

Discussion on EINTR wrt close in Linux: https://lwn.net/Articles/576478/

Glibc shows use with TEMP_FAILURE_RETRY: https://www.gnu.org/software/libc/manual/html_node/Opening-a...

Using TEMP_FAILURE_RETRY when close always deallocates the fd will at best get EBADF, at worse you close a random file descriptor.