Searched refs:wstatus (Results 1 - 12 of 12) sorted by relevance

/macosx-10.9.5/launchd-842.92.1/SystemStarter/
H A DSystemStarter.c406 int wstatus, i = 1; local
423 if (waitpid(p, &wstatus, 0) == -1) {
425 } else if (WIFEXITED(wstatus)) {
426 if (WEXITSTATUS(wstatus) == 0) {
429 syslog(LOG_WARNING, "%s exit status: %d", argv[0], WEXITSTATUS(wstatus));
433 syslog(LOG_WARNING, "%s died: %s", argv[0], strsignal(WTERMSIG(wstatus)));
/macosx-10.9.5/gnudiff-19/diffutils/src/
H A Dutil.c286 int wstatus;
291 wstatus = pclose (outfile);
292 if (wstatus == -1)
297 if (waitpid (pr_pid, &wstatus, 0) < 0)
300 if (! werrno && WIFEXITED (wstatus) && WEXITSTATUS (wstatus) == 127)
303 if (wstatus != 0)
283 int wstatus; local
H A Dsdiff.c703 int wstatus;
707 wstatus = pclose (diffout);
708 if (wstatus == -1)
712 while (waitpid (diffpid, &wstatus, 0) < 0)
729 ck_editor_status (werrno, wstatus);
732 exit (WEXITSTATUS (wstatus));
1049 int wstatus;
1061 wstatus = system (command);
1062 if (wstatus == -1)
1085 while (waitpid (pid, &wstatus,
701 int wstatus; local
1045 int wstatus; local
[all...]
H A Ddiff3.c1149 int fd, wstatus;
1252 wstatus = pclose (fpipe);
1253 if (wstatus == -1)
1260 if (waitpid (pid, &wstatus, 0) < 0)
1265 if (! werrno && WIFEXITED (wstatus))
1266 switch (WEXITSTATUS (wstatus))
1275 if (werrno || ! (WIFEXITED (wstatus) && WEXITSTATUS (wstatus) < 2))
1145 int fd, wstatus; local
/macosx-10.9.5/launchd-842.92.1/src/
H A Dlaunchd.c335 int wstatus = 0; local
346 (void)waitpid(p, &wstatus, 0);
347 } while(!WIFEXITED(wstatus));
349 fprintf(stdout, "PID 1 copy: exit status: %d\n", WEXITSTATUS(wstatus));
415 int wstatus;
430 waitpid(sample_p, &wstatus, 0);
H A Dcore.c11878 int wstatus = 0; local
11879 result = waitpid(p, &wstatus, 0);
11885 if (WIFEXITED(wstatus)) {
11886 if ((result = WEXITSTATUS(wstatus)) == 0) {
11889 jobmgr_log(root_jobmgr, LOG_WARNING | LOG_CONSOLE, "Deferred install script failed with status: %d", WEXITSTATUS(wstatus));
11892 jobmgr_log(root_jobmgr, LOG_WARNING | LOG_CONSOLE, "Weirdness with install script: %d", wstatus);
/macosx-10.9.5/launchd-842.92.1/liblaunch/
H A Dlaunch_priv.h160 mpm_wait(mach_port_t ajob, int *wstatus);
H A Dvproc_priv.h123 _vproc_get_last_exit_status(int *wstatus);
H A Dlibvproc.c700 mpm_wait(mach_port_t ajob __attribute__((unused)), int *wstatus) argument
702 *wstatus = 0;
719 _vproc_get_last_exit_status(int *wstatus) argument
724 *wstatus = (int)val;
/macosx-10.9.5/launchd-842.92.1/support/
H A Dlaunchctl.c166 static pid_t fwexec(const char *const *argv, int *wstatus);
2120 int wstatus; local
2131 (void)os_assumes_zero(waitpid(p, &wstatus, 0));
2132 if (WIFEXITED(wstatus)) {
2133 if (WEXITSTATUS(wstatus) == EXIT_SUCCESS) {
2136 launchctl_log(LOG_NOTICE, "single user mode: exit status: %d", WEXITSTATUS(wstatus));
2139 launchctl_log(LOG_NOTICE, "single user mode shell: %s", strsignal(WTERMSIG(wstatus)));
2182 int wstatus; local
2193 (void)os_assumes_zero(waitpid(p, &wstatus, 0));
2194 if (WIFEXITED(wstatus)) {
2911 int wstatus = (int)launch_data_get_integer(stato); local
3965 fwexec(const char *const *argv, int *wstatus) argument
4502 int wstatus; local
[all...]
/macosx-10.9.5/remote_cmds-41.90.1/rlogin.tproj/
H A Drlogin.c525 int w, wstatus; local
540 while ((w = wait(&wstatus)) > 0 && w != child);
/macosx-10.9.5/syslog-217.1.4/syslogd.tproj/
H A Dremote.c647 int wstatus; local
656 wstatus = write(s, out, outlen);
657 if (wstatus < 0)

Completed in 154 milliseconds