home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Archive Magazine 1996
/
ARCHIVE_96.iso
/
discs
/
mag_discs
/
volume_3
/
issue05
/
vol3no4
/
C
/
C_4_4
< prev
next >
Wrap
Text File
|
1989-12-11
|
242b
|
14 lines
#include <stdio.h>
void copyfiles( FILE *source, FILE *sink )
{
int ch;
while ((ch = fgetc( source )) != EOF) fputc( ch, sink );
}
int main( int argc, char *argv[] )
{
copyfiles( stdin, stdout );
return 0;
}