diff options
Diffstat (limited to '')
-rw-r--r-- | src/fd_util.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fd_util.h b/src/fd_util.h index 68a7d86ab..57ad63288 100644 --- a/src/fd_util.h +++ b/src/fd_util.h @@ -46,14 +46,14 @@ struct sockaddr; * supported by the OS). */ int -open_cloexec(const char *path_fs, int flags); +open_cloexec(const char *path_fs, int flags, int mode); /** - * Wrapper for creat(), which sets the CLOEXEC flag (atomically if + * Wrapper for pipe(), which sets the CLOEXEC flag (atomically if * supported by the OS). */ int -creat_cloexec(const char *path_fs, int mode); +pipe_cloexec(int fd[2]); /** * Wrapper for pipe(), which sets the CLOEXEC flag (atomically if |