diff options
Diffstat (limited to 'support/xunistd.h')
-rw-r--r-- | support/xunistd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/support/xunistd.h b/support/xunistd.h index a83b1f4541..258bab5c81 100644 --- a/support/xunistd.h +++ b/support/xunistd.h @@ -30,6 +30,10 @@ __BEGIN_DECLS pid_t xfork (void); pid_t xwaitpid (pid_t, int *status, int flags); +/* Close the file descriptor. Ignore EINTR errors, but terminate the + process on other errors. */ +void xclose (int); + /* Write the buffer. Retry on short writes. */ void xwrite (int, const void *, size_t); |