does nothing more than copy standard input to standard
output, like the cat command, but reports write errors.
Uses getc and putc rather than fwrite and fread because
the latter call getc and putc.
while((c
= getc(stdin
)) != EOF
){
perror("filecat: stdout");
perror("filecat: stdin");