Linux fork()返回值说明

  对于主进程 fork()返回新建的子进程ID, 子进程fork()返回0html   http://blog.chinaunix.net/u1/53053/showart_425189.htmlshell 进程配置有惟一的进程控制块PCB,由proc结构和usr结构组成。 下面依次介绍进程相关的系统调用: 1:fork()函数          建立一个子进程 小程序 #include<sy
相关文章
相关标签/搜索