![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C-linux函数
thyman
这个作者很懒,什么都没留下…
展开
-
system () 函数详解
system(执行shell 命令)相关函数 fork,execve,waitpid,popen表头文件 #include定义函数 int system(const char * string);函数说明 system()会调用fork()产生子进程,由子进程来调用/bin/sh-c string来执行参数string字符串所代表的命令,此命转载 2007-07-31 15:31:00 · 2068 阅读 · 0 评论 -
getrlimit , setrlimit 函数
NAMEgetrlimit, setrlimit - control maximum resource consumptionSYNOPSIS[XSI] #include sys/resource.h> int getrlimit(int resource, struct rlimit *rlp); int setrlimit(int resource, const翻译 2007-08-15 13:30:00 · 4587 阅读 · 0 评论 -
深入浅出VA函数的使用技巧
本文主要介绍可变参数的函数使用,然后分析它的原理,程序员自己如何对它们实现和封装,最后是可能会出现的问题和避免措施。 VA函数(variable argument function),参数个数可变函数,又称可变参数函数。C/C++编程中,系统提供给编程人员的va函数很少。*printf()/*scanf() 系列函数,用于输入输出时格式化字符串;exec*()系列函数,用于在程序中执行外部文件原创 2007-08-15 13:45:00 · 868 阅读 · 0 评论