pid_t waitpid(pid_t pid, int *status, int ops);. Waits until the process pid exits and sets *status. Use WEXITSTATUS(status) to get the value that.
確定! 回上一頁