![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux C
文章平均质量分 64
Joey_qiaoyi
linux driver engineer
展开
-
Linux设备异常断电导致的SD卡损坏的解决方案
掉电检测电路原创 2021-12-07 16:12:56 · 3251 阅读 · 1 评论 -
linux命令行|参数解析|同时传入多个参数
linux命令行多个参数值解析方法使用背景如下命令行:./test -a 123 --command 11 22 33 -f filename一个简单的小应用程序,需要传入多个参数,有的参数甚至需要带有多个参数值如何通过 getopt_long来获取需要多个参数值。API介绍getopt_long 函数原型:int getopt_long(int argc, char * const argv[],const char *optstring, const struct option *l原创 2021-05-17 19:01:53 · 4698 阅读 · 0 评论