摘要: #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include "task.h" // static int I2S_Init_flag = 0; int main(int argc,char**argv) { int ch = 阅读全文
posted @ 2020-09-10 19:40 卷哭你 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 处理:第二个参数有些东西: :后面须接参数 -bxx和:: 后面可不接参数,后面多个选项,-mnzxc argv[optind]:可以得到后面 -axx -bxx 后面这个-bxx的值,不过是string类型的.optarg:得到是-a后面的值. #include <stdio.h> #includ 阅读全文
posted @ 2020-09-10 15:04 卷哭你 阅读(636) 评论(0) 推荐(0) 编辑