File: missing95.c

package info (click to toggle)
original-awk 2000-05-25-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 312 kB
  • ctags: 493
  • sloc: ansic: 4,746; yacc: 407; makefile: 84; sh: 32
file content (12 lines) | stat: -rw-r--r-- 321 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
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; */
}