Searched refs:wait_status (Results 1 – 1 of 1) sorted by relevance
564 int wait_status; /* Status returned by wait(). */ in server_loop() local760 while ((wait_pid = waitpid(-1, &wait_status, 0)) < 0) in server_loop()768 if (WIFEXITED(wait_status)) { in server_loop()770 debug("Command exited with status %d.", WEXITSTATUS(wait_status)); in server_loop()772 packet_put_int(WEXITSTATUS(wait_status)); in server_loop()792 if (WIFSIGNALED(wait_status)) in server_loop()794 WTERMSIG(wait_status)); in server_loop()797 packet_disconnect("wait returned status %04x.", wait_status); in server_loop()