Chao - Testing

testing testing and testing

导航

随笔分类 -  技术专区

[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 Chech 阅读(674) 评论(0) 推荐(0)