进程中的连续两个fork

今天一位朋友去一个不错的外企面试linux开发职位,面试官出了一个以下的题目:linux       给出以下C程序,在linux下使用gcc编译:面试 1 #include "stdio.h"shell 2 #include "sys/types.h"函数 3 #include "unistd.h"spa 4 blog 5  int main()继承 6 {进程 7     pid_t pid1
相关文章
相关标签/搜索