bad89f3b55
directly in pkgsrc/lang/nawk/files and adjusting the package Makefile accordingly. The README.pkgsrc file includes notes on how the source files were (minimally) adjusted.
14 lines
386 B
C
14 lines
386 B
C
/* $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; */
|
|
}
|