Lines Matching refs:status
359 …st gw_host * const host, const gw_proc * const proc, log_error_st * const errh, const int status) { in gw_proc_waitpid_log() argument
360 if (WIFEXITED(status)) { in gw_proc_waitpid_log()
364 WEXITSTATUS(status), proc->connection_name->ptr); in gw_proc_waitpid_log()
366 } else if (WIFSIGNALED(status)) { in gw_proc_waitpid_log()
367 if (WTERMSIG(status) != SIGTERM && WTERMSIG(status) != SIGINT in gw_proc_waitpid_log()
368 && WTERMSIG(status) != host->kill_signal) { in gw_proc_waitpid_log()
370 "child signalled: %d", WTERMSIG(status)); in gw_proc_waitpid_log()
374 "child died somehow: %d", status); in gw_proc_waitpid_log()
379 int rc, status; in gw_proc_waitpid() local
384 rc = fdevent_waitpid(proc->pid, &status, 1); in gw_proc_waitpid()
395 gw_proc_waitpid_log(host, proc, errh, status); in gw_proc_waitpid()
491 int status; in gw_spawn_connection() local
506 status = connect(gw_fd, proc->saddr, proc->saddrlen); in gw_spawn_connection()
507 } while (-1 == status && errno == EINTR); in gw_spawn_connection()
509 if (-1 == status && errno != ENOENT && proc->unixsocket) { in gw_spawn_connection()
517 if (-1 == status) { in gw_spawn_connection()
2886 handler_t gw_handle_waitpid_cb(server *srv, void *p_d, pid_t pid, int status) { in gw_handle_waitpid_cb() argument
2928 gw_proc_waitpid_log(host, proc, errh, status); in gw_handle_waitpid_cb()
2949 gw_proc_waitpid_log(host, proc, errh, status); in gw_handle_waitpid_cb()