摘要: /* * Killing other processes */ #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <sys/wait.h> #include <sys/types.h> int main() { pid_t child; int status, retval; if((child = fork()) < 0) { perror ("fork"); exit (EXIT_FAILURE); } if(child 阅读全文
posted @ 2012-10-30 21:34 CodingMonkey 阅读(246) 评论(0) 推荐(0) 编辑