![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
编程
文章平均质量分 71
Raigor feacher
C C++ QT 嵌入式 ARM ,linux
展开
-
linux开机启动方式设置inittab
Linux下的/etc/inittab中的英文解释: This file describes how the INIT process should set up the system in a certain run-level.The inittab file describes which processes are started at bootup and during ...原创 2019-11-20 10:26:41 · 164 阅读 · 0 评论 -
判断当前网络是否正常
#include<stdio.h> #include<string.h> int is_network_ready(void) { int ret = 0; FILE *fp; char buf[128] = {0}; fp = popen("ip ro show", "r"); if(!fp) { re...原创 2019-01-22 14:46:37 · 214 阅读 · 0 评论