Lines Matching defs:status
592 bool waitpid_with_timeout(pid_t pid, int timeout_seconds, int* status) {
624 pid_t child_pid = waitpid(pid, status, WNOHANG);
671 int status = run_command_always(title, DONT_DROP_ROOT, NORMAL_STDOUT, timeout_seconds, args);
673 return status;
708 int status = run_command_always(title, DROP_ROOT, NORMAL_STDOUT, timeout_seconds, args);
710 return status;
768 int status;
769 bool ret = waitpid_with_timeout(pid, timeout_seconds, &status);
796 } else if (status) {
803 if (WIFSIGNALED(status)) {
804 if (!silent) printf("*** %s: Killed by signal %d\n", command, WTERMSIG(status));
805 MYLOGE("*** %s: Killed by signal %d\n", command, WTERMSIG(status));
806 } else if (WIFEXITED(status) && WEXITSTATUS(status) > 0) {
807 if (!silent) printf("*** %s: Exit code %d\n", command, WEXITSTATUS(status));
808 MYLOGE("*** %s: Exit code %d\n", command, WEXITSTATUS(status));
814 return status;
1196 int status = property_set(key, value);
1197 if (status) {
1199 key, value, status);
1215 int status = property_set(key, value);
1216 if (status) {
1218 key, value, status);