waitpid (pid_t pid, int *status, int options) pid: wait for child process with pid (process id or ... In Lab 4, use:waitpid(-1, &status, WNOHANG|WUNTRACED).
確定! 回上一頁