原文 标签 c linux fork waitpid. 我有这段代码,也许我遗漏了什么: ... exit(0); } } for (int i = 0; i < NPROCESSES; i++) waitpid(pids[i], 0, 0);
確定! 回上一頁