Searched refs:pstat (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-10.0-release/usr.sbin/pstat/
H A DMakefile4 PROG= pstat
5 LINKS= ${BINDIR}/pstat ${BINDIR}/swapinfo
6 MAN= pstat.8
7 MLINKS= pstat.8 swapinfo.8
/freebsd-10.0-release/release/picobsd/tinyware/passwd/
H A Dpw_util.c172 int pstat; local
188 pid = waitpid(pid, &pstat, 0);
189 if (pid == -1 || !WIFEXITED(pstat) || WEXITSTATUS(pstat) != 0)
198 int pstat; local
218 editpid = waitpid(editpid, (int *)&pstat, WUNTRACED);
219 errno = WEXITSTATUS(pstat);
222 else if (WIFSTOPPED(pstat))
223 raise(WSTOPSIG(pstat));
224 else if (WIFEXITED(pstat)
[all...]
/freebsd-10.0-release/contrib/nvi/ex/
H A Dex_shell.c156 int nf, pstat; local
162 if (waitpid((pid_t)pid, &pstat, 0) != -1)
175 if (WIFSIGNALED(pstat) && (!okpipe || WTERMSIG(pstat) != SIGPIPE)) {
181 sigmsg(WTERMSIG(pstat)),
182 WCOREDUMP(pstat) ? "; core dumped" : "");
188 if (WIFEXITED(pstat) && WEXITSTATUS(pstat)) {
203 WEXITSTATUS(pstat));
H A Dex_cscope.c901 int i = 0, pstat; local
943 (void)waitpid(csc->pid, &pstat, 0);
/freebsd-10.0-release/lib/libc/stdlib/
H A Dsystem.c53 int pstat; local
90 pid = _wait4(savedpid, &pstat, 0, (struct rusage *)0);
95 return(pid == -1 ? -1 : pstat);
/freebsd-10.0-release/usr.sbin/pkg_install/lib/
H A Durl.c46 int pfd[2], pstat, r, w = 0; local
171 tpid = waitpid(tpid, &pstat, 0);
173 printf("tar command returns %d status\n", WEXITSTATUS(pstat));
/freebsd-10.0-release/contrib/xz/src/common/
H A Dtuklib_cpucores.c27 # include <sys/pstat.h>
H A Dtuklib_physmem.c57 # include <sys/pstat.h>
/freebsd-10.0-release/lib/libutil/
H A Dpw_util.c251 int pstat; local
273 if (waitpid(pid, &pstat, 0) == -1)
275 if (WIFEXITED(pstat) && WEXITSTATUS(pstat) == 0)
292 int pstat; local
325 if (waitpid(editpid, &pstat, WUNTRACED) == -1) {
331 } else if (WIFSTOPPED(pstat)) {
332 raise(WSTOPSIG(pstat));
333 } else if (WIFEXITED(pstat) && WEXITSTATUS(pstat)
[all...]
/freebsd-10.0-release/lib/libc/gen/
H A Dpopen.c187 int pstat; local
212 pid = _wait4(cur->pid, &pstat, 0, (struct rusage *)0);
217 return (pid == -1 ? -1 : pstat);
/freebsd-10.0-release/usr.bin/apply/
H A Dapply.c228 int omask, pstat; local
246 pid = waitpid(pid, &pstat, 0);
250 return(pid == -1 ? -1 : pstat);
/freebsd-10.0-release/crypto/openssh/openbsd-compat/
H A Dsetproctitle.c42 #include <sys/pstat.h>
49 #define SPT_PSTAT 1 /* use pstat(PSTAT_SETCMD, ...) */
152 pstat(PSTAT_SETCMD, pst, strlen(ptitle), 0, 0);
/freebsd-10.0-release/usr.sbin/crashinfo/
H A Dcrashinfo.sh214 echo "pstat -T"
216 pstat -M $VMCORE -N $KERNEL -T
220 echo "pstat -s"
222 pstat -M $VMCORE -N $KERNEL -s
/freebsd-10.0-release/usr.sbin/pkg/
H A Dpkg.c140 int pstat; local
158 while (waitpid(pid, &pstat, 0) == -1)
162 if (WEXITSTATUS(pstat))
163 return (WEXITSTATUS(pstat));
164 else if (WIFSIGNALED(pstat))
165 return (128 & (WTERMSIG(pstat)));
166 return (pstat);
/freebsd-10.0-release/contrib/binutils/libiberty/
H A Dphysmem.c29 # include <sys/pstat.h>
/freebsd-10.0-release/contrib/gcclibs/libiberty/
H A Dphysmem.c29 # include <sys/pstat.h>
/freebsd-10.0-release/contrib/pf/pflogd/
H A Dpflogd.c635 struct pcap_stat pstat; local
636 if (pcap_stats(hpcap, &pstat) < 0)
641 pstat.ps_recv, pstat.ps_drop, packets_dropped);
/freebsd-10.0-release/contrib/sendmail/src/
H A Dalias.c194 ** pstat -- a pointer to a place to put the status.
209 aliaslookup(name, pstat, av)
211 int *pstat;
243 return (*map->map_class->map_lookup)(map, name, argv, pstat);
245 return (*map->map_class->map_lookup)(map, name, NULL, pstat);
H A Dmap.c99 ** char *map_lookup(MAP *map, char *key, char **args, int *pstat)
102 ** and return the value. Set *pstat to the appropriate status
5093 ph_map_lookup(map, key, args, pstat)
5097 int *pstat;
5106 *pstat = EX_OK;
5119 *pstat = EX_TEMPFAIL;
5128 *pstat = EX_TEMPFAIL;
5130 *pstat = EX_UNAVAILABLE;
5141 if (*pstat == EX_TEMPFAIL)
5149 if (*pstat
[all...]
H A Dparseaddr.c1782 ** pstat -- a pointer to an integer in which to store the
1792 map_lookup(smap, key, argvect, pstat, e)
1796 int *pstat;
1816 *pstat = EX_TEMPFAIL;
1845 *pstat = EX_TEMPFAIL;
2623 ** pstat -- pointer to status word.
2639 remotename(name, m, flags, pstat, e)
2643 int *pstat;
2704 *pstat = EX_TEMPFAIL;
2728 *pstat
[all...]
/freebsd-10.0-release/contrib/gdb/gdb/
H A Dremote-rdp.c407 int *pstat; local
431 pstat = va_arg (alist, int *);
434 *pstat = get_byte ();
436 if (*pstat)
/freebsd-10.0-release/usr.sbin/
H A DMakefile65 pstat \
/freebsd-10.0-release/sbin/devd/
H A Ddevd.cc197 int pstat; local
237 pid = ::wait4(savedpid, &pstat, 0, (struct rusage *)0);
244 return (pid == -1 ? -1 : pstat);
/freebsd-10.0-release/contrib/binutils/bfd/
H A Delf.c7764 pstatus_t pstat;
7766 memcpy (&pstat, note->descdata, sizeof (pstat)); local
7768 elf_tdata (abfd)->core_pid = pstat.pr_pid;
7774 pstatus32_t pstat;
7776 memcpy (&pstat, note->descdata, sizeof (pstat));
7778 elf_tdata (abfd)->core_pid = pstat.pr_pid;
7782 lwpstatus_t in pstat.pr_lwp, but we'll catch it all in an
8454 pstatus32_t pstat;
7756 pstatus_t pstat; local
8446 pstatus32_t pstat; local
8457 pstatus_t pstat; local
[all...]
/freebsd-10.0-release/usr.sbin/crunch/examples/
H A Dreally-big.conf73 progs pstat pwd_mkdb quot quotaon rarpd rbootd repquota rmt rpc.bootparamd

Completed in 207 milliseconds

12