[unix c]关于FOLK和PRINTF()的一个小问题
摘要:#include #include main () { pid_t pid; printf("test"); pid=fork(); if (pid < 0) printf("error in fork!"); else if (pid == 0) printf("i am the child process, my process id is %d\n",getpid()); else pr...
阅读全文
posted @ 2004-11-01 19:41