Lines Matching refs:kid_status
143 int kid_status; \
154 waitpid(kid_pid, &kid_status, 0); \
155 if (WIFEXITED(kid_status)) { \
156 (result) = WEXITSTATUS(kid_status); \
159 if (WIFSIGNALED(kid_status)) \
161 WTERMSIG(kid_status), strsignal(WTERMSIG(kid_status))); \
177 int kid_status; \
184 waitpid(kid_pid, &kid_status, 0); \
185 if (WIFEXITED(kid_status)) { \
186 kid_status = WEXITSTATUS(kid_status); \
188 kid_status = (errval); \
189 if (WIFSIGNALED(kid_status)) \
191 WTERMSIG(kid_status), strsignal(WTERMSIG(kid_status))); \
194 kid_status = kid_status;})