#include <stdio.h> int main(void) { char c; while ( (c = getc(stdin)) != EOF) { if (putc(c,stdout) == EOF) { fprintf(stderr,"output error/n"); exit(1); } } exit(0); }