摘要:
/* * 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
阅读(261)
评论(0)
推荐(0)

浙公网安备 33010602011771号