| /src/games/cribbage/ |
| instr.c | 61 int pstat; local 93 pid = waitpid(pid, &pstat, 0); 95 if (pid == -1 || WEXITSTATUS(pstat))
|
| /src/lib/libc/stdlib/ |
| system.c | 59 int pstat; local 125 pstat = -1; 129 while (waitpid(pid, &pstat, 0) == -1) { 131 pstat = -1; 140 return (pstat);
|
| /src/lib/libc/gen/ |
| popen.c | 270 int pstat; local 298 pid = waitpid(cur->pid, &pstat, 0); 303 return pid == -1 ? -1 : pstat;
|
| /src/external/bsd/blocklist/port/ |
| popenve.c | 241 int pstat; local 273 pid = waitpid(cur->pid, &pstat, 0); 278 return pid == -1 ? -1 : pstat;
|
| /src/external/bsd/nvi/dist/ex/ |
| ex_shell.c | 157 int nf, pstat; local 163 if (waitpid((pid_t)pid, &pstat, 0) != -1) 176 if (WIFSIGNALED(pstat) && (!okpipe || WTERMSIG(pstat) != SIGPIPE)) { 182 sigmsg(WTERMSIG(pstat)), 183 WCOREDUMP(pstat) ? "; core dumped" : ""); 189 if (WIFEXITED(pstat) && WEXITSTATUS(pstat)) { 204 WEXITSTATUS(pstat));
|
| ex_cscope.c | 866 int i, pstat; local 899 (void)waitpid(csc->pid, &pstat, 0);
|
| /src/usr.bin/timeout/ |
| timeout.c | 189 int error, pstat, status; local 314 pstat = status; 350 while (cpid != pid && wait(&pstat) == -1) { 355 if (WEXITSTATUS(pstat)) 356 pstat = WEXITSTATUS(pstat); 357 else if(WIFSIGNALED(pstat)) 358 pstat = 128 + WTERMSIG(pstat); 361 pstat = EXIT_TIMEOUT [all...] |
| /src/lib/librmt/ |
| rmtlib.c | 107 sig_t pstat; local 116 pstat = signal(SIGPIPE, SIG_IGN); 118 signal(SIGPIPE, pstat); 126 signal(SIGPIPE, pstat); 447 sig_t pstat; local 455 pstat = signal(SIGPIPE, SIG_IGN); 457 signal(SIGPIPE, pstat); 461 signal(SIGPIPE, pstat);
|
| /src/lib/libutil/ |
| passwd.c | 140 int pstat, i; local 166 pid = waitpid(pid, &pstat, 0); 171 if (WIFEXITED(pstat)) { 172 if (WEXITSTATUS(pstat) != 0) { 174 WEXITSTATUS(pstat)); 177 } else if (WIFSIGNALED(pstat)) { 178 warnx("pwd_mkdb exited with signal %d", WTERMSIG(pstat)); 237 int pstat; local 275 editpid = waitpid(editpid, (int *)&pstat, WUNTRACED); 278 else if (WIFSTOPPED(pstat)) [all...] |
| /src/usr.bin/patch/ |
| inp.c | 144 int ifd, statfailed, devnull, pstat; local 243 pid = waitpid(pid, &pstat, 0); 244 if (pid == -1 || WEXITSTATUS(pstat) != 0) { 265 pid = waitpid(pid, &pstat, 0); 266 if (pid == -1 || WEXITSTATUS(pstat) != 0 ||
|
| /src/dist/pf/sbin/pflogd/ |
| pflogd.c | 624 struct pcap_stat pstat; local 783 if (pcap_stats(hpcap, &pstat) < 0) 788 pstat.ps_recv, pstat.ps_drop, packets_dropped);
|
| /src/usr.sbin/rpc.pcnfsd/ |
| pcnfsd_print.c | 952 pirstat pstat = PI_RES_NO_SUCH_PRINTER; local 981 pstat = PI_RES_FAIL; 1027 pstat = PI_RES_OK; 1031 return (pstat); 1122 pcrstat pstat = PC_RES_NO_SUCH_JOB; local 1140 pstat = PC_RES_OK; 1142 pstat = PC_RES_NO_SUCH_PRINTER; 1144 pstat = PC_RES_NOT_OWNER; 1148 return (pstat);
|
| /src/external/gpl3/gcc.old/dist/gcc/fortran/ |
| trans.cc | 850 tree tmp, pstat; local 856 pstat = null_pointer_node; 858 pstat = gfc_build_addr_expr (NULL_TREE, status); 874 pstat, errmsg, errlen); 1541 tree cond2, pstat = null_pointer_node; local 1559 pstat = status; 1568 pstat, errmsg, errlen); 1712 tree pstat = null_pointer_node; local 1722 pstat = status; 1729 pstat, null_pointer_node, integer_zero_node) [all...] |
| trans-stmt.cc | 7204 tree apstat, pstat, stat, errmsg, errlen, tmp; local 7208 pstat = apstat = stat = errmsg = errlen = tmp = NULL_TREE; 7221 pstat = gfc_build_addr_expr (NULL_TREE, stat); 7339 tmp = gfc_deallocate_with_status (se.expr, pstat, errmsg, errlen, 7384 tmp = gfc_deallocate_scalar_with_status (se.expr, pstat, label_finish,
|
| /src/sys/kern/ |
| kern_entropy.c | 2556 rndpoolstat_t *pstat = data; local 2561 pstat->poolsize = ENTPOOL_SIZE/sizeof(uint32_t); /* words */ 2562 pstat->threshold = MINENTROPYBITS/NBBY; /* bytes */ 2563 pstat->maxentropy = ENTROPY_CAPACITY*NBBY; /* bits */ 2566 pstat->added = 0; /* XXX total entropy_enter count */ 2567 pstat->curentropy = MINENTROPYBITS - E->bitsneeded; /* bits */ 2568 pstat->removed = 0; /* XXX total entropy_extract count */ 2569 pstat->discarded = 0; /* XXX bits of entropy beyond capacity */ 2576 pstat->generated = MINSAMPLES - E->samplesneeded; 2577 pstat->generated -= MIN(pstat->generated, pstat->curentropy) [all...] |
| /src/external/gpl3/gcc/dist/gcc/fortran/ |
| trans.cc | 894 tree tmp, pstat; local 900 pstat = null_pointer_node; 902 pstat = gfc_build_addr_expr (NULL_TREE, status); 918 pstat, errmsg, errlen); 1948 tree cond2, pstat = null_pointer_node; local 1966 pstat = status; 1975 pstat, errmsg, errlen); 2130 tree pstat = null_pointer_node; local 2140 pstat = status; 2147 pstat, null_pointer_node, integer_zero_node) [all...] |
| trans-stmt.cc | 7499 tree apstat, pstat, stat, errmsg, errlen, tmp; local 7503 pstat = apstat = stat = errmsg = errlen = tmp = NULL_TREE; 7516 pstat = gfc_build_addr_expr (NULL_TREE, stat); 7634 tmp = gfc_deallocate_with_status (se.expr, pstat, errmsg, errlen, 7679 tmp = gfc_deallocate_scalar_with_status (se.expr, pstat, label_finish,
|
| /src/external/gpl3/binutils/dist/bfd/ |
| elf.c | 10926 pstatus_t pstat; 10928 memcpy (&pstat, note->descdata, sizeof (pstat)); 10930 elf_tdata (abfd)->core->pid = pstat.pr_pid; 10936 pstatus32_t pstat; 10938 memcpy (&pstat, note->descdata, sizeof (pstat)); 10940 elf_tdata (abfd)->core->pid = pstat.pr_pid; 10944 lwpstatus_t in pstat.pr_lwp, but we'll catch it all in an 12357 pstatus32_t pstat; 10921 pstatus_t pstat; local 10931 pstatus32_t pstat; local 12352 pstatus32_t pstat; local 12363 pstatus_t pstat; local [all...] |
| /src/external/gpl3/binutils.old/dist/bfd/ |
| elf.c | 10833 pstatus_t pstat; 10835 memcpy (&pstat, note->descdata, sizeof (pstat)); 10837 elf_tdata (abfd)->core->pid = pstat.pr_pid; 10843 pstatus32_t pstat; 10845 memcpy (&pstat, note->descdata, sizeof (pstat)); 10847 elf_tdata (abfd)->core->pid = pstat.pr_pid; 10851 lwpstatus_t in pstat.pr_lwp, but we'll catch it all in an 12537 pstatus32_t pstat; 10828 pstatus_t pstat; local 10838 pstatus32_t pstat; local 12532 pstatus32_t pstat; local 12543 pstatus_t pstat; local [all...] |
| /src/external/gpl3/gdb/dist/bfd/ |
| elf.c | 10768 pstatus_t pstat; 10770 memcpy (&pstat, note->descdata, sizeof (pstat)); 10772 elf_tdata (abfd)->core->pid = pstat.pr_pid; 10778 pstatus32_t pstat; 10780 memcpy (&pstat, note->descdata, sizeof (pstat)); 10782 elf_tdata (abfd)->core->pid = pstat.pr_pid; 10786 lwpstatus_t in pstat.pr_lwp, but we'll catch it all in an 12474 pstatus32_t pstat; 10763 pstatus_t pstat; local 10773 pstatus32_t pstat; local 12469 pstatus32_t pstat; local 12480 pstatus_t pstat; local [all...] |
| /src/external/gpl3/gdb.old/dist/bfd/ |
| elf.c | 10942 pstatus_t pstat; 10944 memcpy (&pstat, note->descdata, sizeof (pstat)); 10946 elf_tdata (abfd)->core->pid = pstat.pr_pid; 10952 pstatus32_t pstat; 10954 memcpy (&pstat, note->descdata, sizeof (pstat)); 10956 elf_tdata (abfd)->core->pid = pstat.pr_pid; 10960 lwpstatus_t in pstat.pr_lwp, but we'll catch it all in an 12648 pstatus32_t pstat; 10937 pstatus_t pstat; local 10947 pstatus32_t pstat; local 12643 pstatus32_t pstat; local 12654 pstatus_t pstat; local [all...] |