会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
xuhonggang
博客园
首页
新随笔
联系
订阅
管理
2017年6月15日
函数getopt(),及其参数optind
摘要: getopt被用来解析命令行选项参数。 #include <unistd.h> extern char *optarg; //选项的参数指针 extern int optind, //下一次调用getopt的时,从optind存储的位置处重新开始检查选项。 extern int opterr, //
阅读全文
posted @ 2017-06-15 11:24 xuhonggang
阅读(3541)
评论(1)
推荐(1)
公告