/* * mycat.c * * Copyright 2013 spark <spark@spark-vbox> * */#include <stdio.h>int main(int argc, char **argv){ FILE *fp; void filecopy(FILE *, FILE *); if(argc == 1){ filecopy(stdin,stdout); } else{ while(--argc>0){ if( (fp=fopen(*++argv,"r")) ==NULL){ printf("fail to Read More
posted @ 2013-05-09 15:01 庚武 Views(475) Comments(0) Diggs(0) Edit