system()函数是Linux下的一个函数,那么它具体作用是干什么呢?下面由小编为大家整理了linux system()函数的相关知识,希望对大家有帮助!
一,linux system()函数理解
功能:system()函数调用“/bin/sh -c command”执行特定的命令,阻塞当前进程直到command命令执行完毕
原型:
int system(const char *command);
返回值:
请关闭浏览器的畅读模式或者取消屏蔽JavaScript的正常运行,避免出现内容显示不全或者段落错乱。
原网页地址:https://www.zhuoxinzhinan.com/xuexi/3582898.html