/freebsd-10.0-release/contrib/openbsm/bin/auditd/ |
H A D | auditd.c | 616 int wstatus; local 618 while ((child = waitpid(-1, &wstatus, WNOHANG)) > 0) { 619 if (!wstatus) 622 ((WIFEXITED(wstatus)) ? "exited with non-zero status" : 624 ((WIFEXITED(wstatus)) ? WEXITSTATUS(wstatus) : 625 WTERMSIG(wstatus)));
|
/freebsd-10.0-release/contrib/diff/src/ |
H A D | sdiff.c | 268 check_child_status (int werrno, int wstatus, int max_ok_status, argument 271 int status = (! werrno && WIFEXITED (wstatus) 272 ? WEXITSTATUS (wstatus) 709 int wstatus; 713 wstatus = pclose (diffout); 714 if (wstatus == -1) 718 while (waitpid (diffpid, &wstatus, 0) < 0) 735 check_child_status (werrno, wstatus, EXIT_FAILURE, diffargv[0]); 738 exit (WEXITSTATUS (wstatus)); 1056 int wstatus; 707 int wstatus; local 1052 int wstatus; local [all...] |
H A D | util.c | 286 int wstatus; 291 wstatus = pclose (outfile); 292 if (wstatus == -1) 297 if (waitpid (pr_pid, &wstatus, 0) < 0) 300 status = (! werrno && WIFEXITED (wstatus) 301 ? WEXITSTATUS (wstatus) 283 int wstatus; local
|
H A D | diff3.c | 1145 int fd, wstatus, status; 1262 wstatus = pclose (fpipe); 1263 if (wstatus == -1) 1270 if (waitpid (pid, &wstatus, 0) < 0) 1275 status = ! werrno && WIFEXITED (wstatus) ? WEXITSTATUS (wstatus) : INT_MAX; 1141 int fd, wstatus, status; local
|
/freebsd-10.0-release/contrib/dialog/ |
H A D | ui_getc.c | 592 union wait wstatus; local 594 int wstatus; local 628 while (-1 == waitpid(pid, &wstatus, 0)) { 640 while (wait(&wstatus) != pid) /* do nothing */ 643 _exit(WEXITSTATUS(wstatus));
|
/freebsd-10.0-release/gnu/usr.bin/rcs/lib/ |
H A D | rcsutil.c | 1010 int wstatus; local 1066 wstatus = spawn_RCS(0, args[1], (char**)(args + 1)); 1068 if (wstatus == -1 && errno == ENOEXEC) { 1070 wstatus = spawnv(0, args[0], (char**)args); 1123 if (waitpid(pid, &wstatus, 0) < 0) 1129 if ((w = wait(&wstatus)) < 0) 1150 wstatus = system(b.string); 1154 if (!WIFEXITED(wstatus)) { 1155 if (WIFSIGNALED(wstatus)) { 1156 psignal(WTERMSIG(wstatus), arg [all...] |
H A D | rcsfnms.c | 966 int closeerrno, closeerror, e, fd[2], readerror, toolong, wstatus; local 1005 readerror = toolong = wstatus = 0; 1029 if (waitpid(child, &wstatus, 0) < 0) 1030 wstatus = 1; 1035 if ((w = wait(&wstatus)) < 0) { 1036 wstatus = 1; 1062 if (wstatus || p == path || *--p != '\n') {
|
/freebsd-10.0-release/usr.sbin/lpr/lpd/ |
H A D | printjob.c | 624 int p[2], retcode, stopped, wstatus, wstatus_set; local 803 wait3(&wstatus, WUNTRACED, 0)) > 0 && wpid != of_pid) 809 else if (!WIFSTOPPED(wstatus)) { 813 pp->printer, of_pid, WEXITSTATUS(wstatus), 814 WTERMSIG(wstatus)); 840 while ((wpid = wait(&wstatus)) > 0 && wpid != child) 849 retcode = WEXITSTATUS(wstatus); 869 if (wstatus_set && !WIFEXITED(wstatus)) { 871 pp->printer, format, WTERMSIG(wstatus)); 1354 int errfd, retcode, wstatus; local [all...] |
/freebsd-10.0-release/usr.bin/rlogin/ |
H A D | rlogin.c | 325 int w, wstatus; local 332 while ((w = wait(&wstatus)) > 0 && w != child);
|
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/ |
H A D | dtrace.c | 792 int wstatus = proc_getwstat(P); 821 if (WIFSIGNALED(wstatus)) { 823 WTERMSIG(wstatus)); 830 } else if (WEXITSTATUS(wstatus) != 0) { 832 pid, WEXITSTATUS(wstatus));
|
/freebsd-10.0-release/usr.sbin/rtsold/ |
H A D | rtsol.c | 800 int wstatus; local 822 wpid = wait(&wstatus);
|
/freebsd-10.0-release/sbin/dhclient/ |
H A D | dhclient.c | 2229 int pid, wpid, wstatus; local 2250 wstatus = 0; 2253 wpid = wait(&wstatus); 2257 wstatus = 0; 2267 return (wstatus & 0xff);
|