1 /* CC0 (Public domain) - see LICENSE file for details */
6 int close_noerr(int fd)
8 int saved_errno = errno, ret;
19 int fclose_noerr(FILE *fp)
21 int saved_errno = errno, ret;
32 int unlink_noerr(const char *pathname)
34 int saved_errno = errno, ret;
36 if (unlink(pathname) != 0)