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

12

/freebsd-11-stable/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-11-stable/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-11-stable/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));
/freebsd-11-stable/lib/libc/stdlib/
H A Dsystem.c62 int pstat; local
103 pid = _wait4(savedpid, &pstat, 0, (struct rusage *)0);
108 return (pid == -1 ? -1 : pstat);
/freebsd-11-stable/usr.bin/timeout/
H A Dtimeout.c168 int error, pstat, status; local
292 pstat = status;
345 while (!child_done && wait(&pstat) == -1) {
353 if (WEXITSTATUS(pstat))
354 pstat = WEXITSTATUS(pstat);
355 else if(WIFSIGNALED(pstat))
356 pstat = 128 + WTERMSIG(pstat);
359 pstat
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/unix/
H A Dos.c46 #include <sys/pstat.h>
/freebsd-11-stable/lib/libc/gen/
H A Dpopen.c198 int pstat; local
223 pid = _wait4(cur->pid, &pstat, 0, (struct rusage *)0);
228 return (pid == -1 ? -1 : pstat);
/freebsd-11-stable/usr.bin/apply/
H A Dapply.c221 int omask, pstat; local
239 pid = waitpid(pid, &pstat, 0);
243 return(pid == -1 ? -1 : pstat);
/freebsd-11-stable/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-11-stable/lib/libutil/
H A Dpw_util.c250 int pstat; local
272 if (waitpid(pid, &pstat, 0) == -1)
274 if (WIFEXITED(pstat) && WEXITSTATUS(pstat) == 0)
291 int pstat; local
324 if (waitpid(editpid, &pstat, WUNTRACED) == -1) {
330 } else if (WIFSTOPPED(pstat)) {
331 raise(WSTOPSIG(pstat));
332 } else if (WIFEXITED(pstat) && WEXITSTATUS(pstat)
[all...]
/freebsd-11-stable/usr.sbin/crashinfo/
H A Dcrashinfo.sh235 echo "pstat -T"
237 pstat -M $VMCORE -N $KERNEL -T
241 echo "pstat -s"
243 pstat -M $VMCORE -N $KERNEL -s
/freebsd-11-stable/contrib/xz/src/common/
H A Dtuklib_cpucores.c42 # include <sys/pstat.h>
H A Dtuklib_physmem.c64 # include <sys/pstat.h>
/freebsd-11-stable/contrib/blacklist/port/
H A Dpopenve.c236 int pstat; local
268 pid = waitpid(cur->pid, &pstat, 0);
273 return pid == -1 ? -1 : pstat;
/freebsd-11-stable/contrib/ntp/ntpsnmpd/
H A Dnetsnmp_daemonize.c136 #include <sys/pstat.h>
/freebsd-11-stable/usr.sbin/pkg/
H A Dpkg.c147 int pstat; local
165 while (waitpid(pid, &pstat, 0) == -1)
169 if (WEXITSTATUS(pstat))
170 return (WEXITSTATUS(pstat));
171 else if (WIFSIGNALED(pstat))
172 return (128 & (WTERMSIG(pstat)));
173 return (pstat);
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dphysmem.c29 # include <sys/pstat.h>
/freebsd-11-stable/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-11-stable/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 Dparseaddr.c1791 ** pstat -- a pointer to an integer in which to store the
1801 map_lookup(smap, key, argvect, pstat, e)
1805 int *pstat;
1826 *pstat = EX_TEMPFAIL;
1860 *pstat = EX_TEMPFAIL;
2654 ** pstat -- pointer to status word.
2670 remotename(name, m, flags, pstat, e)
2674 int *pstat;
2735 *pstat = EX_TEMPFAIL;
2759 *pstat
[all...]
H A Dmap.c102 ** char *map_lookup(MAP *map, char *key, char **args, int *pstat)
105 ** and return the value. Set *pstat to the appropriate status
5532 ph_map_lookup(map, key, args, pstat)
5536 int *pstat;
5545 *pstat = EX_OK;
5558 *pstat = EX_TEMPFAIL;
5567 *pstat = EX_TEMPFAIL;
5569 *pstat = EX_UNAVAILABLE;
5580 if (*pstat == EX_TEMPFAIL)
5588 if (*pstat
[all...]
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dphysmem.c29 # include <sys/pstat.h>
/freebsd-11-stable/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-11-stable/lib/libusb/
H A Dlibusb20.h250 int libusb20_dev_get_stats(struct libusb20_device *pdev, struct libusb20_device_stats *pstat);
/freebsd-11-stable/usr.sbin/
H A DMakefile65 pstat \

Completed in 370 milliseconds

12