我閱讀了waitpid()系統呼叫的部分,在選項部分列出了一個名為wnohang的。 pid_t waitpid*(pid_t pid, int *status, int options);
確定! 回上一頁