aboutsummaryrefslogtreecommitdiffstats
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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/system/fd_util.h b/src/system/fd_util.h
index 3c72890e1..f4a940e91 100644
--- a/src/system/fd_util.h
+++ b/src/system/fd_util.h
@@ -51,6 +51,9 @@ struct sockaddr;
extern "C" {
#endif
+int
+fd_set_cloexec(int fd, bool enable);
+
/**
* Wrapper for dup(), which sets the CLOEXEC flag on the new
* descriptor.