linux常用函数
jared jiao
这个作者很懒,什么都没留下…
展开
-
C++判断IP地址是否有效
详细介绍网络数值转换原创 2022-07-04 16:14:03 · 2285 阅读 · 0 评论 -
C小程序-int数组写入字符串
C语言小程序 int数组写入字符串#include<stdio.h>#include<string.h>#include<stdlib.h>int main(){ int len = 0; int TestNum = 100; int MaxLen = 1024; char cMsgLog[MaxLen] = {0}; for(int i=0; i<TestNum; i++){ if(i < T原创 2021-08-24 12:58:33 · 829 阅读 · 0 评论 -
C语言fork启进程用exec执行脚本程序
```cpp#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <sys/prctl.h>#include <sys/types.h>#include <sys/wait.h>#include <dirent.h>static int my_popen(const char *.原创 2021-07-13 14:07:46 · 655 阅读 · 1 评论