05 2013 档案
摘要:SG*****003 董*一、实验过程实验1 :fork()的调用源代码 test.c#include <errno.h>#include <unistd.h>#include <stdio.h>#include <stdlib.h>int main(){ pid_t pid; int count=0; pid=fork(); count++; printf("count=%d\n",count); return 0;}编译后运行结果是实验2:fork()和exec()的组合使用源代码 string3.c#include<
阅读全文

浙公网安备 33010602011771号