summaryrefslogtreecommitdiff
path: root/os2/popen.h
diff options
context:
space:
mode:
Diffstat (limited to 'os2/popen.h')
-rw-r--r--os2/popen.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/os2/popen.h b/os2/popen.h
new file mode 100644
index 0000000..fec94e0
--- /dev/null
+++ b/os2/popen.h
@@ -0,0 +1,6 @@
+/* We roll our own popen()/pclose() in OS/2.
+ Thanks, Glenn Gribble! */
+
+FILE *popen (const char *cmd, const char *mode);
+int popenRW (char **cmd, int *pipes);
+int pclose (FILE *stream);