summaryrefslogtreecommitdiff
path: root/src/system/fd_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/system/fd_util.h')
-rw-r--r--src/system/fd_util.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/src/system/fd_util.h b/src/system/fd_util.h
index 5b95cbc4f..02e959a8e 100644
--- a/src/system/fd_util.h
+++ b/src/system/fd_util.h
@@ -55,13 +55,6 @@ int
fd_set_cloexec(int fd, bool enable);
/**
- * Wrapper for dup(), which sets the CLOEXEC flag on the new
- * descriptor.
- */
-int
-dup_cloexec(int oldfd);
-
-/**
* Wrapper for open(), which sets the CLOEXEC flag (atomically if
* supported by the OS).
*/
@@ -71,13 +64,6 @@ open_cloexec(const char *path_fs, int flags, int mode);
/**
* Wrapper for pipe(), which sets the CLOEXEC flag (atomically if
* supported by the OS).
- */
-int
-pipe_cloexec(int fd[2]);
-
-/**
- * Wrapper for pipe(), which sets the CLOEXEC flag (atomically if
- * supported by the OS).
*
* On systems that supports it (everybody except for Windows), it also
* sets the NONBLOCK flag.
@@ -85,24 +71,6 @@ pipe_cloexec(int fd[2]);
int
pipe_cloexec_nonblock(int fd[2]);
-#ifndef WIN32
-
-/**
- * Wrapper for socketpair(), which sets the CLOEXEC flag (atomically
- * if supported by the OS).
- */
-int
-socketpair_cloexec(int domain, int type, int protocol, int sv[2]);
-
-/**
- * Wrapper for socketpair(), which sets the flags CLOEXEC and NONBLOCK
- * (atomically if supported by the OS).
- */
-int
-socketpair_cloexec_nonblock(int domain, int type, int protocol, int sv[2]);
-
-#endif
-
#ifdef ENABLE_LIBMPDCLIENT
/* Avoid symbol conflict with statically linked libmpdclient */
#define socket_cloexec_nonblock socket_cloexec_nonblock_noconflict
@@ -123,20 +91,6 @@ int
accept_cloexec_nonblock(int fd, struct sockaddr *address,
size_t *address_length_r);
-
-#ifndef WIN32
-
-struct msghdr;
-
-/**
- * Wrapper for recvmsg(), which sets the CLOEXEC flag (atomically if
- * supported by the OS).
- */
-ssize_t
-recvmsg_cloexec(int sockfd, struct msghdr *msg, int flags);
-
-#endif
-
#ifdef HAVE_INOTIFY_INIT
/**