aboutsummaryrefslogtreecommitdiff
path: root/lib/cloexec.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cloexec.h')
-rw-r--r--lib/cloexec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/cloexec.h b/lib/cloexec.h
new file mode 100644
index 00000000..ecad8d71
--- /dev/null
+++ b/lib/cloexec.h
@@ -0,0 +1,2 @@
+#include <stdbool.h>
+bool set_cloexec_flag (int desc, bool value);