minix/commands/awk/missing95.c
Kees van Reeuwijk 4683d6b713 Let awk.old install its awk as /usr/bin/awk.old.
Add one-true-awk as the new awk that installs to /usr/bin/awk.
2010-03-17 16:16:52 +00:00

12 lines
321 B
C

/* 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; */
}