/freebsd-9.3-release/usr.sbin/pstat/ |
H A D | Makefile | 4 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 D | pw_util.c | 172 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 D | system.c | 52 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 D | ex_shell.c | 159 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 D | raw_popen.c | 134 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 D | url.c | 46 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 D | os.c | 46 #include <sys/pstat.h>
|
/freebsd-9.3-release/contrib/xz/src/common/ |
H A D | tuklib_cpucores.c | 27 # include <sys/pstat.h>
|
H A D | tuklib_physmem.c | 57 # include <sys/pstat.h>
|
/freebsd-9.3-release/contrib/ntp/lib/isc/unix/ |
H A D | os.c | 46 #include <sys/pstat.h>
|
/freebsd-9.3-release/lib/libutil/ |
H A D | pw_util.c | 254 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 D | popen.c | 175 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 D | apply.c | 228 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 D | setproctitle.c | 42 #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 D | system.c | 417 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 D | crashinfo.sh | 214 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 D | system.c | 251 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 D | netsnmp_daemonize.c | 136 #include <sys/pstat.h>
|
/freebsd-9.3-release/usr.sbin/pkg/ |
H A D | pkg.c | 144 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 D | physmem.c | 29 # include <sys/pstat.h>
|
/freebsd-9.3-release/contrib/gcclibs/libiberty/ |
H A D | physmem.c | 29 # include <sys/pstat.h>
|
/freebsd-9.3-release/contrib/gnu-sort/lib/ |
H A D | physmem.c | 31 # include <sys/pstat.h>
|
/freebsd-9.3-release/contrib/pf/pflogd/ |
H A D | pflogd.c | 635 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 D | alias.c | 194 ** 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 D | map.c | 99 ** 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...] |