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

12

/freebsd-9.3-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-9.3-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-9.3-release/lib/libc/stdlib/
H A Dsystem.c52 int pstat; local
86 pid = _wait4(savedpid, &pstat, 0, (struct rusage *)0);
93 return(pid == -1 ? -1 : pstat);
/freebsd-9.3-release/contrib/nvi/ex/
H A Dex_shell.c159 int nf, pstat; local
165 if (waitpid((pid_t)pid, &pstat, 0) != -1)
178 if (WIFSIGNALED(pstat) && (!okpipe || WTERMSIG(pstat) != SIGPIPE)) {
184 sigmsg(WTERMSIG(pstat)),
185 WCOREDUMP(pstat) ? "; core dumped" : "");
191 if (WIFEXITED(pstat) && WEXITSTATUS(pstat)) {
206 WEXITSTATUS(pstat));
/freebsd-9.3-release/gnu/lib/libodialog/
H A Draw_popen.c134 int omask, pstat; local
149 pid = waitpid(cur->pid, (int *) &pstat, 0);
160 return (pid == -1 ? -1 : pstat);
/freebsd-9.3-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-9.3-release/contrib/bind9/lib/isc/unix/
H A Dos.c46 #include <sys/pstat.h>
/freebsd-9.3-release/contrib/xz/src/common/
H A Dtuklib_cpucores.c27 # include <sys/pstat.h>
H A Dtuklib_physmem.c57 # include <sys/pstat.h>
/freebsd-9.3-release/contrib/ntp/lib/isc/unix/
H A Dos.c46 #include <sys/pstat.h>
/freebsd-9.3-release/lib/libutil/
H A Dpw_util.c254 int pstat; local
276 if (waitpid(pid, &pstat, 0) == -1)
278 if (WIFEXITED(pstat) && WEXITSTATUS(pstat) == 0)
295 int pstat; local
328 if (waitpid(editpid, &pstat, WUNTRACED) == -1) {
334 } else if (WIFSTOPPED(pstat)) {
335 raise(WSTOPSIG(pstat));
336 } else if (WIFEXITED(pstat) && WEXITSTATUS(pstat)
[all...]
/freebsd-9.3-release/lib/libc/gen/
H A Dpopen.c175 int pstat; local
200 pid = _wait4(cur->pid, &pstat, 0, (struct rusage *)0);
205 return (pid == -1 ? -1 : pstat);
/freebsd-9.3-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-9.3-release/crypto/openssh/openbsd-compat/
H A Dsetproctitle.c42 #include <sys/pstat.h>
49 #define SPT_PSTAT 1 /* use pstat(PSTAT_SETCMD, ...) */
157 pstat(PSTAT_SETCMD, pst, strlen(ptitle), 0, 0);
/freebsd-9.3-release/usr.sbin/sysinstall/
H A Dsystem.c417 int pstat; local
463 pid = waitpid(pid, &pstat, 0);
467 i = (pid == -1) ? -1 : WEXITSTATUS(pstat);
482 int pstat; local
498 (void) waitpid(ehs_pid, &pstat, WNOHANG);
/freebsd-9.3-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-9.3-release/usr.sbin/sade/
H A Dsystem.c251 int pstat; local
297 pid = waitpid(pid, &pstat, 0);
301 i = (pid == -1) ? -1 : WEXITSTATUS(pstat);
/freebsd-9.3-release/contrib/ntp/ntpsnmpd/
H A Dnetsnmp_daemonize.c136 #include <sys/pstat.h>
/freebsd-9.3-release/usr.sbin/pkg/
H A Dpkg.c144 int pstat; local
162 while (waitpid(pid, &pstat, 0) == -1)
166 if (WEXITSTATUS(pstat))
167 return (WEXITSTATUS(pstat));
168 else if (WIFSIGNALED(pstat))
169 return (128 & (WTERMSIG(pstat)));
170 return (pstat);
/freebsd-9.3-release/contrib/binutils/libiberty/
H A Dphysmem.c29 # include <sys/pstat.h>
/freebsd-9.3-release/contrib/gcclibs/libiberty/
H A Dphysmem.c29 # include <sys/pstat.h>
/freebsd-9.3-release/contrib/gnu-sort/lib/
H A Dphysmem.c31 # include <sys/pstat.h>
/freebsd-9.3-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-9.3-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...]

Completed in 165 milliseconds

12