From 74a4d8c26dd3c1e9febcb717cfd6cb6512991a7a Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Fri, 22 Dec 2006 21:39:35 +0000 Subject: 20060303 --- utils/awk/missing95.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 utils/awk/missing95.c (limited to 'utils/awk/missing95.c') 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 +FILE *popen(char *s, char *m) { + return _popen(s, m); /* return NULL; */ +} + +int pclose(FILE *f) { + return _pclose(f); /* return NULL; */ +} -- cgit v1.2.3