summaryrefslogtreecommitdiff
path: root/compat/nonblock.h
diff options
context:
space:
mode:
Diffstat (limited to 'compat/nonblock.h')
-rw-r--r--compat/nonblock.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/compat/nonblock.h b/compat/nonblock.h
new file mode 100644
index 0000000..af1a331
--- /dev/null
+++ b/compat/nonblock.h
@@ -0,0 +1,9 @@
+#ifndef COMPAT_NONBLOCK_H
+#define COMPAT_NONBLOCK_H
+
+/*
+ * Enable non-blocking I/O for the pipe specified by the passed-in descriptor.
+ */
+int enable_pipe_nonblock(int fd);
+
+#endif