home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
RISC DISC 1
/
RISC_DISC_1.iso
/
pd_share
/
code
/
unixlib
/
!UnixLib
/
test
/
c
/
popentest
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
1994-03-08
|
249 b
|
22 lines
#include <stdlib.h>
#include <stdio.h>
int
main ()
{
FILE *f;
char b[256];
if (!(f = popen ("min", "r")))
{
perror ("popen()");
exit (1);
}
while (fgets (b, 256, f))
fputs (b, stdout);
pclose (f);
return 0;
}