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