|
发表于 2011-9-4 09:24:06
|
显示全部楼层
- int ret = system("command_str");
- /*
- * You'd better to check the return value. The command_str could be any command supported in you LINUX, for example,
- * system("/sbin/ifconfig eth0 up");
- */
复制代码
For more information about system, you could refer to
man system |
|