summaryrefslogtreecommitdiff
path: root/utils/awk/missing95.c
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2006-12-22 21:39:35 +0000
committerCharles.Forsyth <devnull@localhost>2006-12-22 21:39:35 +0000
commit74a4d8c26dd3c1e9febcb717cfd6cb6512991a7a (patch)
treec6e220ba61db3a6ea4052e6841296d829654e664 /utils/awk/missing95.c
parent46439007cf417cbd9ac8049bb4122c890097a0fa (diff)
20060303
Diffstat (limited to 'utils/awk/missing95.c')
-rw-r--r--utils/awk/missing95.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/utils/awk/missing95.c b/utils/awk/missing95.c
new file mode 100644
index 00000000..64138ade
--- /dev/null
+++ b/utils/awk/missing95.c
@@ -0,0 +1,12 @@
+/* popen and pclose are not part of win 95 and nt,
+ but it appears that _popen and _pclose "work".
+ if this won't load, use the return NULL statements. */
+
+#include <stdio.h>
+FILE *popen(char *s, char *m) {
+ return _popen(s, m); /* return NULL; */
+}
+
+int pclose(FILE *f) {
+ return _pclose(f); /* return NULL; */
+}