Searched refs:wstatus (Results 1 – 3 of 3) sorted by relevance
115 int wstatus; in StopMonitoredProcesses() local116 auto ret = entry.proc->Wait(&wstatus, 0); in StopMonitoredProcesses()142 int wstatus; in RestartOnExitCb() local143 auto wait_ret = TEMP_FAILURE_RETRY(entry->proc->Wait(&wstatus, 0)); in RestartOnExitCb()146 if (WIFEXITED(wstatus)) { in RestartOnExitCb()148 << ") has exited with exit code " << WEXITSTATUS(wstatus); in RestartOnExitCb()149 } else if (WIFSIGNALED(wstatus)) { in RestartOnExitCb()152 << ") was interrupted by a signal: " << WTERMSIG(wstatus); in RestartOnExitCb()
109 int wstatus = 0; in Wait() local111 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() argument138 auto retval = waitpid(pid_, wstatus, options); in Wait()401 int wstatus; in RunWithManagedStdio() local402 subprocess.Wait(&wstatus, 0); in RunWithManagedStdio()[all …]
60 pid_t Wait(int* wstatus, int options);