Home
last modified time | relevance | path

Searched refs:pstat (Results 1 – 21 of 21) sorted by relevance

/dragonfly/contrib/nvi2/ex/
H A Dex_shell.c151 int nf, pstat; in proc_wait() local
157 if (waitpid((pid_t)pid, &pstat, 0) != -1) in proc_wait()
170 if (WIFSIGNALED(pstat) && (!okpipe || WTERMSIG(pstat) != SIGPIPE)) { in proc_wait()
176 sigmsg(WTERMSIG(pstat)), in proc_wait()
177 WCOREDUMP(pstat) ? "; core dumped" : ""); in proc_wait()
183 if (WIFEXITED(pstat) && WEXITSTATUS(pstat)) { in proc_wait()
198 WEXITSTATUS(pstat)); in proc_wait()
H A Dex_cscope.c891 int i = 0, pstat; in terminate() local
933 (void)waitpid(csc->pid, &pstat, 0); in terminate()
/dragonfly/usr.bin/timeout/
H A Dtimeout.c178 int error, pstat, status; in main() local
308 pstat = status; in main()
350 while (!child_done && wait(&pstat) == -1) { in main()
358 if (WEXITSTATUS(pstat)) in main()
359 pstat = WEXITSTATUS(pstat); in main()
360 else if (WIFSIGNALED(pstat)) in main()
361 pstat = 128 + WTERMSIG(pstat); in main()
364 pstat = EXIT_TIMEOUT; in main()
366 return (pstat); in main()
/dragonfly/usr.sbin/pstat/
H A DMakefile5 PROG= pstat
12 MAN= pstat.8
13 LINKS= ${BINDIR}/pstat ${BINDIR}/swapinfo
14 MLINKS= pstat.8 swapinfo.8
/dragonfly/usr.bin/window/
H A Dwwterminfo.c96 int pstat; in wwterminfoend() local
108 pid = waitpid(pid, &pstat, 0); in wwterminfoend()
109 if (pid == -1 || !WIFEXITED(pstat) || WEXITSTATUS(pstat) != 0) in wwterminfoend()
/dragonfly/lib/libutil/
H A Dpw_util.c245 int pstat; in pw_mkdb() local
267 if (waitpid(pid, &pstat, 0) == -1) in pw_mkdb()
269 if (WIFEXITED(pstat) && WEXITSTATUS(pstat) == 0) in pw_mkdb()
286 int pstat; in pw_edit() local
319 if (waitpid(editpid, &pstat, WUNTRACED) == -1) { in pw_edit()
325 } else if (WIFSTOPPED(pstat)) { in pw_edit()
326 raise(WSTOPSIG(pstat)); in pw_edit()
327 } else if (WIFEXITED(pstat) && WEXITSTATUS(pstat) == 0) { in pw_edit()
/dragonfly/games/cribbage/
H A Dinstr.c51 int pstat; in instructions() local
75 pid = waitpid(pid, &pstat, 0); in instructions()
77 if (pid == -1 || WEXITSTATUS(pstat)) in instructions()
/dragonfly/lib/libc/stdlib/
H A Dsystem.c51 int pstat; in __system() local
85 pid = _wait4(savedpid, &pstat, 0, NULL); in __system()
92 return(pid == -1 ? -1 : pstat); in __system()
/dragonfly/lib/libc/gen/
H A Dpopen.c182 int pstat; in pclose() local
211 pid = _wait4(cur->pid, &pstat, 0, NULL); in pclose()
216 return (pid == -1 ? -1 : pstat); in pclose()
/dragonfly/usr.sbin/installer/libaura/
H A Dpopen.c186 int pstat; in aura_pclose() local
201 pid = wait4(cur->pid, &pstat, 0, (struct rusage *)0); in aura_pclose()
211 return (pid == -1 ? -1 : pstat); in aura_pclose()
/dragonfly/usr.bin/apply/
H A Dapply.c230 int omask, pstat; in exec_shell() local
248 pid = waitpid(pid, &pstat, 0); in exec_shell()
252 return(pid == -1 ? -1 : pstat); in exec_shell()
/dragonfly/usr.sbin/crashinfo/
H A Dcrashinfo.sh228 pstat -M $VMCORE -N $KERNEL -T
234 pstat -M $VMCORE -N $KERNEL -s
/dragonfly/usr.sbin/pflogd/
H A Dpflogd.c584 struct pcap_stat pstat; in log_pcap_stats() local
585 if (pcap_stats(hpcap, &pstat) < 0) in log_pcap_stats()
590 pstat.ps_recv, pstat.ps_drop, packets_dropped); in log_pcap_stats()
/dragonfly/test/stress/stress2/misc/
H A Ducom.sh51 pstat -t > /dev/null
/dragonfly/usr.sbin/
H A DMakefile86 pstat \
/dragonfly/sbin/devd/
H A Ddevd.cc216 int pstat; in my_system() local
256 pid = ::wait4(savedpid, &pstat, 0, (struct rusage *)0); in my_system()
263 return (pid == -1 ? -1 : pstat); in my_system()
/dragonfly/contrib/gdb-7/bfd/
H A Delf.c8319 pstatus_t pstat; in elfcore_grok_pstatus() local
8321 memcpy (&pstat, note->descdata, sizeof (pstat)); in elfcore_grok_pstatus()
8329 pstatus32_t pstat; in elfcore_grok_pstatus() local
8331 memcpy (&pstat, note->descdata, sizeof (pstat)); in elfcore_grok_pstatus()
9319 pstatus32_t pstat; in elfcore_write_pstatus() local
9321 memset (&pstat, 0, sizeof (pstat)); in elfcore_write_pstatus()
9322 pstat.pr_pid = pid & 0xffff; in elfcore_write_pstatus()
9324 NT_PSTATUS, &pstat, sizeof (pstat)); in elfcore_write_pstatus()
9330 pstatus_t pstat; in elfcore_write_pstatus() local
9332 memset (&pstat, 0, sizeof (pstat)); in elfcore_write_pstatus()
[all …]
/dragonfly/contrib/binutils-2.27/bfd/
H A Delf.c9085 pstatus_t pstat; in elfcore_grok_pstatus() local
9087 memcpy (&pstat, note->descdata, sizeof (pstat)); in elfcore_grok_pstatus()
9095 pstatus32_t pstat; in elfcore_grok_pstatus() local
9097 memcpy (&pstat, note->descdata, sizeof (pstat)); in elfcore_grok_pstatus()
10238 pstatus32_t pstat; in elfcore_write_pstatus() local
10240 memset (&pstat, 0, sizeof (pstat)); in elfcore_write_pstatus()
10241 pstat.pr_pid = pid & 0xffff; in elfcore_write_pstatus()
10243 NT_PSTATUS, &pstat, sizeof (pstat)); in elfcore_write_pstatus()
10249 pstatus_t pstat; in elfcore_write_pstatus() local
10251 memset (&pstat, 0, sizeof (pstat)); in elfcore_write_pstatus()
[all …]
/dragonfly/contrib/binutils-2.34/bfd/
H A Delf.c9862 pstatus_t pstat; in elfcore_grok_pstatus() local
9864 memcpy (&pstat, note->descdata, sizeof (pstat)); in elfcore_grok_pstatus()
9872 pstatus32_t pstat; in elfcore_grok_pstatus() local
9874 memcpy (&pstat, note->descdata, sizeof (pstat)); in elfcore_grok_pstatus()
11237 pstatus32_t pstat; in elfcore_write_pstatus() local
11239 memset (&pstat, 0, sizeof (pstat)); in elfcore_write_pstatus()
11240 pstat.pr_pid = pid & 0xffff; in elfcore_write_pstatus()
11242 NT_PSTATUS, &pstat, sizeof (pstat)); in elfcore_write_pstatus()
11248 pstatus_t pstat; in elfcore_write_pstatus() local
11250 memset (&pstat, 0, sizeof (pstat)); in elfcore_write_pstatus()
[all …]
/dragonfly/usr.bin/crunch/examples/
H A Dreally-big.conf73 progs pstat pwd_mkdb quot quotaon rarpd rbootd repquota rmt rpc.bootparamd
/dragonfly/contrib/gcc-4.7/libiberty/
H A Dconfig.in313 /* Define to 1 if you have the <sys/pstat.h> header file. */