/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | zoneadmd.c | 2123 (void) waitpid(pid, NULL, WNOHANG); in main()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_proc.c | 556 (void) waitpid(Pstatus(t->t_pshandle)->pr_pid, NULL, WNOHANG); in pt_pre_detach()
|
/illumos-gate/usr/src/cmd/init/ |
H A D | init.c | 2391 while ((pid = waitpid(-1, &status, WNOHANG)) > 0) in childeath()
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.proc.c | 69 pid = csh_wait3(&w, (setintr ? WNOHANG|WUNTRACED:WNOHANG), &ru); in pchild()
|
H A D | wait3.c | 75 options |= (WNOHANG|WUNTRACED|WEXITED|WSTOPPED|WTRAPPED|WCONTINUED); in csh_wait3() 81 if ((options & WNOHANG) && (info.si_pid == 0)) in csh_wait3()
|
H A D | wait.h | 91 #define WNOHANG 1 /* dont hang in wait */ macro
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | jobs.c | 335 collectjobs(WNOHANG); in freejobs() 827 collectjobs(WNOHANG);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.comsat.c | 201 while (wait3((struct wait *)0, WNOHANG, (struct rusage *)0) > 0) in reapchildren()
|
/illumos-gate/usr/src/test/os-tests/tests/spoof-ras/ |
H A D | spoof-ras.c | 422 while ((retpid = waitpid(dtrace, stat, WNOHANG)) == -1) { in spoof_dtrace_wait()
|
/illumos-gate/usr/src/ucblib/libucb/port/sys/ |
H A D | wait4.c | 93 if (options & ~(WNOHANG|WUNTRACED)) in wait4() 113 if ((options & WNOHANG) && (info.si_pid == 0)) in wait4()
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | wait.h | 115 #define WNOHANG 0100 /* non blocking form of wait */ macro 118 #define WOPTMASK (WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG|WNOWAIT)
|
/illumos-gate/usr/src/lib/libldap5/include/ldap/ |
H A D | portable.h | 106 #define WAIT_FLAGS ( WNOHANG | WUNTRACED | WCONTINUED ) 108 #define WAIT_FLAGS ( WNOHANG | WUNTRACED )
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | waitpid.c | 136 if (options & ~(WNOHANG|WUNTRACED|WCONTINUED)) { in wait4() 160 if ((options & WNOHANG) && info.si_pid == 0) in wait4()
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | yp_b_subr.c | 152 while ((ret = waitid(P_ALL, 0, &infop, WNOHANG | WEXITED)) != -1) { in broadcast_proc_exit()
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | procset.c | 116 ~(WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG|WNOWAIT)) in woptions() 128 if (arg & WNOHANG) in woptions()
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_script.c | 1149 if (waitpid(pid, &child_status, WNOHANG) == pid) in kill_pid()
|
/illumos-gate/usr/src/cmd/ptools/preap/ |
H A D | preap.c | 180 if (pr_waitid(Pr, P_PID, pid, &siginfo, WEXITED|WNOHANG) != 0) { in reap()
|
/illumos-gate/usr/src/cmd/power/ |
H A D | powerd.c | 936 while (waitpid((pid_t)-1, &status, WNOHANG) > 0) in run_idlecheck()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | in.uucpd.c | 373 while ((pid = wait3(&status, WNOHANG, 0)) > 0) {
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | exit.c | 1098 (options & ~WNOWAIT) == (WNOHANG | WEXITED) && in waitid() 1245 if (options & WNOHANG) { in waitid()
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | scalls.c | 1161 if (options & WNOHANG) in waitid()
|
/illumos-gate/usr/src/cmd/zlogin/ |
H A D | zlogin.c | 538 if ((pid = waitpid(child_pid, &status, WNOHANG|WNOWAIT)) != -1) { in sigcld() 548 (void) waitpid(pid, &status, WNOHANG); in sigcld()
|
/illumos-gate/usr/src/cmd/xargs/ |
H A D | xargs.c | 1010 options |= WNOHANG; in procs_waitpid()
|
/illumos-gate/usr/src/cmd/uadmin/ |
H A D | uadmin.c | 418 if ((rc = waitpid(pid, NULL, WNOHANG)) == pid) { in change_audit_file()
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmhandler.c | 269 rcode = waitid(P_ALL, 0, &info, WNOHANG|WEXITED); in sigchild()
|