Home
last modified time | relevance | path

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

/system/connectivity/wificond/tests/
Dshell_utils.cpp111 int wait_status = 0; in RunShellCommand() local
114 auto NeedToWaitForChild = [child_pid, &wait_status, &waitpid_ret]() { in RunShellCommand()
116 waitpid_ret = waitpid(child_pid, &wait_status, WNOHANG); in RunShellCommand()
146 if (waitpid_ret == child_pid && WIFEXITED(wait_status)) { in RunShellCommand()
147 return WEXITSTATUS(wait_status); in RunShellCommand()