summaryrefslogtreecommitdiff
path: root/lang/nawk/files/missing95.c
blob: 93fe85c5e1ef60b685d8cc8644884e2235599937 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* $NetBSD: missing95.c,v 1.1 2006/07/14 14:23:06 jlam Exp $ */

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