Home
last modified time | relevance | path

Searched refs:wstatus (Results 1 – 3 of 3) sorted by relevance

/device/google/cuttlefish/host/commands/run_cvd/
Dprocess_monitor.cc115 int wstatus; in StopMonitoredProcesses() local
116 auto ret = entry.proc->Wait(&wstatus, 0); in StopMonitoredProcesses()
142 int wstatus; in RestartOnExitCb() local
143 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()
/device/google/cuttlefish/common/libs/utils/
Dsubprocess.cpp109 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()
[all …]
Dsubprocess.h60 pid_t Wait(int* wstatus, int options);