summaryrefslogtreecommitdiffstats
path: root/lib/isapipe.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/isapipe.h')
-rw-r--r--lib/isapipe.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/isapipe.h b/lib/isapipe.h
new file mode 100644
index 0000000..c108e30
--- /dev/null
+++ b/lib/isapipe.h
@@ -0,0 +1,6 @@
+/* Whether pipes are FIFOs; -1 if not known. */
+#ifndef HAVE_FIFO_PIPES
+# define HAVE_FIFO_PIPES (-1)
+#endif
+
+int isapipe (int fd);