5.fork函数

int fork(void)
返回值:成功时父进程返回子进程的pid,子进程返回0

    失败时返回-1


猜你喜欢

转载自blog.csdn.net/disappear_xuechao/article/details/80875773