- 博客(1)
- 收藏
- 关注
转载 getopt()函数 命令解析
今天做计算机系统结构实验时学习到一个非常方便的命令解析函数getopt(),简单做个笔记,方便日后复习。头文件:#include<unistd.h>函数原型:int getopt(int argc,char * const argv[ ],const char * optstring);返回值:最后返回-1表示解析结束。参数解释: 其中opt...
2019-04-19 22:51:00 160
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人