2011-01-24 158 views

回答

0

您可能要使用類似exec or execv的電話。如果包含「unistd.h」,它們可用。有關它們如何工作的更多信息,請查看有關man execlook here的可執行文件的手冊頁:

系統也可以使用。像 -

#include <stdlib.h> 
int main() { 
system("ls -l"); 
printf("This is a directory list..."); 
} 

you can use iftop command to find network stats in linux.