/src/games/cribbage/ |
instr.c | 61 int pstat; local in function:instructions 93 pid = waitpid(pid, &pstat, 0); 95 if (pid == -1 || WEXITSTATUS(pstat))
|
/src/lib/libc/stdlib/ |
system.c | 59 int pstat; local in function:system 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 in function:pclose 298 pid = waitpid(cur->pid, &pstat, 0); 303 return pid == -1 ? -1 : pstat;
|
/src/usr.bin/timeout/ |
timeout.c | 189 int error, pstat, status; local in function:main 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/libutil/ |
passwd.c | 140 int pstat, i; local in function:pw_mkdb 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 in function:pw_edit 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 in function:plan_a 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/lib/librmt/ |
rmtlib.c | 107 sig_t pstat; local in function:command 116 pstat = signal(SIGPIPE, SIG_IGN); 118 signal(SIGPIPE, pstat); 126 signal(SIGPIPE, pstat); 447 sig_t pstat; local in function:_rmt_write 455 pstat = signal(SIGPIPE, SIG_IGN); 457 signal(SIGPIPE, pstat); 461 signal(SIGPIPE, pstat);
|
/src/usr.sbin/rpc.pcnfsd/ |
pcnfsd_print.c | 952 pirstat pstat = PI_RES_NO_SUCH_PRINTER; local in function:get_pr_status 981 pstat = PI_RES_FAIL; 1027 pstat = PI_RES_OK; 1031 return (pstat); 1122 pcrstat pstat = PC_RES_NO_SUCH_JOB; local in function:pr_cancel 1140 pstat = PC_RES_OK; 1142 pstat = PC_RES_NO_SUCH_PRINTER; 1144 pstat = PC_RES_NOT_OWNER; 1148 return (pstat);
|
/src/dist/pf/sbin/pflogd/ |
pflogd.c | 624 struct pcap_stat pstat; local in function:main 783 if (pcap_stats(hpcap, &pstat) < 0) 788 pstat.ps_recv, pstat.ps_drop, packets_dropped);
|
/src/sys/kern/ |
kern_entropy.c | 2555 rndpoolstat_t *pstat = data; local in function:entropy_ioctl 2560 pstat->poolsize = ENTPOOL_SIZE/sizeof(uint32_t); /* words */ 2561 pstat->threshold = MINENTROPYBITS/NBBY; /* bytes */ 2562 pstat->maxentropy = ENTROPY_CAPACITY*NBBY; /* bits */ 2565 pstat->added = 0; /* XXX total entropy_enter count */ 2566 pstat->curentropy = MINENTROPYBITS - E->bitsneeded; /* bits */ 2567 pstat->removed = 0; /* XXX total entropy_extract count */ 2568 pstat->discarded = 0; /* XXX bits of entropy beyond capacity */ 2575 pstat->generated = MINSAMPLES - E->samplesneeded; 2576 pstat->generated -= MIN(pstat->generated, pstat->curentropy) [all...] |