Searched refs:wpid (Results 1 - 16 of 16) sorted by relevance

/freebsd-9.3-release/contrib/binutils/libiberty/
H A Dwaitpid.c31 int wpid = wait(stat_loc); local
32 if (wpid == pid || wpid == -1)
33 return wpid;
/freebsd-9.3-release/contrib/gcclibs/libiberty/
H A Dwaitpid.c31 int wpid = wait(stat_loc); local
32 if (wpid == pid || wpid == -1)
33 return wpid;
/freebsd-9.3-release/lib/libkse/thread/
H A Dthr_waitpid.c39 pid_t _waitpid(pid_t wpid, int *status, int options);
44 _waitpid(pid_t wpid, int *status, int options) argument
50 ret = __waitpid(wpid, status, options);
/freebsd-9.3-release/tools/regression/fifo/fifo_open/
H A Dfifo_open.c130 pid_t wpid; local
138 wpid = waitpid(pid, status, WNOHANG);
139 if (wpid < 0) {
144 if (wpid == pid)
150 wpid = waitpid(pid, status, WNOHANG);
151 if (wpid < 0) {
156 if (wpid == pid)
164 wpid = waitpid(pid, status, 0);
165 if (wpid < 0) {
170 if (wpid !
234 pid_t reader_pid, writer_pid, wpid; local
309 pid_t reader_pid, writer_pid, wpid; local
[all...]
/freebsd-9.3-release/lib/libulog/
H A Dulog_login_pseudo.c49 pid_t pid, wpid; local
70 wpid = waitpid(pid, &status, 0);
71 } while (wpid == -1 && errno == EINTR);
/freebsd-9.3-release/tools/test/pthread_vfork/
H A Dpthread_vfork_test.c47 pid_t pid, wpid; local
57 wpid = waitpid(pid, &status, 0);
58 if (wpid == -1)
/freebsd-9.3-release/tools/regression/security/cap_test/
H A Dcap_test_capmode.c73 pid_t pid, wpid; local
161 wpid = waitpid(pid, NULL, 0);
162 if (wpid < 0) {
/freebsd-9.3-release/sbin/init/
H A Dinit.c647 pid_t pid, wpid; local
761 if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1)
762 collect_child(wpid);
763 if (wpid == -1) {
769 if (wpid == pid && WIFSTOPPED(status)) {
772 wpid = -1;
774 } while (wpid != pid && !requested_transition);
827 pid_t pid, wpid; local
875 if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1)
876 collect_child(wpid);
1598 pid_t pid, wpid; local
[all...]
/freebsd-9.3-release/lib/libc/gen/
H A Dwordexp.c113 pid_t wpid; /* waitpid return value */ local
221 wpid = _waitpid(pid, &status, 0);
222 while (wpid < 0 && errno == EINTR);
228 if (wpid < 0 || !WIFEXITED(status) || WEXITSTATUS(status) != 0)
/freebsd-9.3-release/tools/tools/netrate/juggle/
H A Djuggle.c392 pid_t pid, ppid, wpid; local
455 wpid = waitpid(pid, NULL, 0);
456 if (wpid < 0)
458 if (wpid != pid)
459 errx(-1, "process_juggle: waitpid: pid != wpid");
/freebsd-9.3-release/usr.sbin/lpr/lpd/
H A Dprintjob.c622 pid_t wpid; local
801 while ((wpid =
802 wait3(&wstatus, WUNTRACED, 0)) > 0 && wpid != of_pid)
804 if (wpid < 0)
839 while ((wpid = wait(&wstatus)) > 0 && wpid != child)
841 if (wpid < 0) {
1352 pid_t fpid, wpid; local
1367 while ((wpid = wait(&wstatus)) > 0 &&
1368 wpid !
[all...]
/freebsd-9.3-release/usr.sbin/rtsold/
H A Drtsol.c778 pid_t pid, wpid; local
822 wpid = wait(&wstatus);
823 } while (wpid != pid && wpid > 0);
825 if (wpid < 0)
/freebsd-9.3-release/release/picobsd/tinyware/oinit/
H A Doinit.c773 pid_t pid,wpid; local
809 wpid=waitpid(pid,(int *)0,WUNTRACED);
810 } while(wpid!=pid && transition==SINGLE);
/freebsd-9.3-release/lib/libthr/thread/
H A Dthr_syscalls.c715 ___waitpid(pid_t wpid, int *status, int options) argument
721 ret = __waitpid(wpid, status, options);
/freebsd-9.3-release/sbin/dhclient/
H A Ddhclient.c2199 int pid, wpid, wstatus; local
2223 wpid = wait(&wstatus);
2224 } while (wpid != pid && wpid > 0);
2225 if (wpid < 0) {
/freebsd-9.3-release/usr.sbin/newsyslog/
H A Dnewsyslog.c1989 pid_t pidzip, wpid; local
2052 wpid = waitpid(pidzip, &zstatus, 0);
2053 if (wpid == -1) {

Completed in 223 milliseconds