Linux fork() vfork()

對於主進程 fork()返回新建的子進程ID, 子進程fork()返回0   http://blog.chinaunix.net/u1/53053/showart_425189.html 進程配置有唯一的進程控制塊PCB,由proc結構和usr結構組成。 下面依次介紹進程相關的系統調用: 1:fork()函數          創建一個子進程 #include<sys/types.h> /* 提
相關文章
相關標籤/搜索