Home
last modified time | relevance | path

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

/device/google/cuttlefish_common/host/commands/launch/
Dprocess_monitor.cc106 int wstatus; in RestartOnExitCb() local
107 auto wait_ret = TEMP_FAILURE_RETRY(entry->proc->Wait(&wstatus, 0)); in RestartOnExitCb()
110 if (WIFEXITED(wstatus)) { in RestartOnExitCb()
113 << WEXITSTATUS(wstatus); in RestartOnExitCb()
114 } else if (WIFSIGNALED(wstatus)) { in RestartOnExitCb()
117 << WTERMSIG(wstatus); in RestartOnExitCb()
Dmain.cc294 int wstatus; in StopCvd() local
295 waitpid(child_pid, &wstatus, 0); in StopCvd()
298 << wstatus; in StopCvd()
/device/google/cuttlefish_common/common/libs/utils/
Dsubprocess.cpp157 int wstatus = 0; in Wait() local
159 auto wait_ret = Wait(&wstatus, 0); in Wait()
165 if (WIFEXITED(wstatus)) { in Wait()
166 retval = WEXITSTATUS(wstatus); in Wait()
171 } else if (WIFSIGNALED(wstatus)) { in Wait()
173 << " was interrupted by a signal: " << WTERMSIG(wstatus); in Wait()
178 pid_t Subprocess::Wait(int* wstatus, int options) { in Wait() argument
185 auto retval = waitpid(pid_, wstatus, options); in Wait()
Dsubprocess.h49 pid_t Wait(int* wstatus, int options);