摘要: /* cp1.c * version 1 of cp - uses read and write with tunable buffer size * usage:cp1 src dest */#include<stdio.h>#include<unistd.h>#include<fcntl.h>#include<stdlib.h>#define BUFFERSIZE 4096#define COPYMODE 0644void oops(char *s1,char *s2);main(int ac,char *av[]){ int in_fd,o 阅读全文
posted @ 2012-12-11 10:16 布兰姥爷 阅读(357) 评论(0) 推荐(0) 编辑