linux系統函數學習

system()—執行shell命令 相關函數:fork, execve, waitpid, popen頭文件:#include <stdlib.h>定義函數:int system(const char * string); 函數說明:system()會調用fork()產生子進程, 由子進程來調用/bin/sh-c string 來執行參數string 字符串所表明的命令, 此命令執行完後隨即返回
相關文章
相關標籤/搜索