/* ISC license. */ #include #include #include void fd_close (int fd) { int e = errno ; while (close(fd) < 0 && errno == EINTR) ; errno = e ; }