Lines Matching refs:wstatus
109 int wstatus = 0; in Wait() local
111 auto wait_ret = Wait(&wstatus, 0); in Wait()
118 if (WIFEXITED(wstatus)) { in Wait()
119 retval = WEXITSTATUS(wstatus); in Wait()
124 } else if (WIFSIGNALED(wstatus)) { in Wait()
126 << " was interrupted by a signal: " << WTERMSIG(wstatus); in Wait()
131 pid_t Subprocess::Wait(int* wstatus, int options) { in Wait() argument
138 auto retval = waitpid(pid_, wstatus, options); in Wait()
401 int wstatus; in RunWithManagedStdio() local
402 subprocess.Wait(&wstatus, 0); in RunWithManagedStdio()
403 if (WIFSIGNALED(wstatus)) { in RunWithManagedStdio()
404 LOG(ERROR) << "Command was interrupted by a signal: " << WTERMSIG(wstatus); in RunWithManagedStdio()
414 return WEXITSTATUS(wstatus); in RunWithManagedStdio()