摘要: /* mycp.c */ #include<stdio.h> #include<stdlib.h> #include<unistd.h> #include<fcntl.h> #include<string.h> #include<dirent.h> #include<sys/types.h> #in 阅读全文
posted @ 2019-11-27 17:54 王清河 阅读(2015) 评论(0) 推荐(0) 编辑
摘要: 头文件: #include<unistd.h> 函数定义: int getopt(int argc,char * const argv[ ],const char * optstring); 参数说明: argc、argv: 由main函数参数直接传递过来。 optstring: 是一个包含合法选项 阅读全文
posted @ 2019-11-27 17:35 王清河 阅读(427) 评论(0) 推荐(0) 编辑