Lines Matching refs:status
252 usage (int status) in usage() argument
254 if (status != EXIT_SUCCESS) in usage()
312 exit (status); in usage()
557 int status; in main() local
570 while ((wait_result = waitpid (monitored_pid, &status, WNOHANG)) == 0) in main()
577 status = EXIT_CANCELED; in main()
581 if (WIFEXITED (status)) in main()
582 status = WEXITSTATUS (status); in main()
583 else if (WIFSIGNALED (status)) in main()
585 int sig = WTERMSIG (status); in main()
586 if (WCOREDUMP (status)) in main()
600 status = sig + 128; /* what sh returns for signaled processes. */ in main()
605 error (0, 0, _("unknown status from command (%d)"), status); in main()
606 status = EXIT_FAILURE; in main()
611 status = EXIT_TIMEDOUT; in main()
612 return status; in main()