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

/sssd-io/src/util/
H A Dchild_common.h57 typedef void (*sss_child_fn_t)(int pid, int wait_status, void *pvt);
H A Dchild_common.c156 int wait_status; member in struct:sss_child_cb_pvt
182 child_ctx->cb(child_ctx->pid, cb_pvt->wait_status, child_ctx->pvt);
202 int wait_status; local
211 pid = waitpid(-1, &wait_status, WNOHANG | sigchld_ctx->options);
239 invoke_pvt->wait_status = wait_status;
/sssd-io/src/tests/cmocka/
H A Dtest_child_common.c453 void sss_child_cb(int pid, int wait_status, void *pvt);
491 void sss_child_cb(int pid, int wait_status, void *pvt) argument
496 if (WIFEXITED(wait_status) && WEXITSTATUS(wait_status) == 0) {
/sssd-io/src/monitor/
H A Dmonitor.c477 static void svc_child_info(struct mt_svc *svc, int wait_status) argument
479 if (WIFEXITED(wait_status)) {
482 svc->pid, WEXITSTATUS(wait_status));
483 } else if (WIFSIGNALED(wait_status)) {
486 svc->pid, WTERMSIG(wait_status));
2266 static void mt_svc_exit_handler(int pid, int wait_status, void *pvt);
2358 static void mt_svc_exit_handler(int pid, int wait_status, void *pvt) argument
2364 svc_child_info(svc, wait_status);

Completed in 20 milliseconds