Without using waitpid, a child process can continue after its parent exits: #include "csapp.h" int main() { pid_t pid = Fork(); if (pid == 0) {. Sleep(10);.
確定! 回上一頁