Home
last modified time | relevance | path

Searched refs:WNOHANG (Results 1 – 25 of 48) sorted by last modified time

12

/illumos-gate/usr/src/cmd/zoneadmd/
H A Dzoneadmd.c2123 (void) waitpid(pid, NULL, WNOHANG); in main()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_proc.c556 (void) waitpid(Pstatus(t->t_pshandle)->pr_pid, NULL, WNOHANG); in pt_pre_detach()
/illumos-gate/usr/src/cmd/init/
H A Dinit.c2391 while ((pid = waitpid(-1, &status, WNOHANG)) > 0) in childeath()
/illumos-gate/usr/src/cmd/csh/
H A Dsh.proc.c69 pid = csh_wait3(&w, (setintr ? WNOHANG|WUNTRACED:WNOHANG), &ru); in pchild()
H A Dwait3.c75 options |= (WNOHANG|WUNTRACED|WEXITED|WSTOPPED|WTRAPPED|WCONTINUED); in csh_wait3()
81 if ((options & WNOHANG) && (info.si_pid == 0)) in csh_wait3()
H A Dwait.h91 #define WNOHANG 1 /* dont hang in wait */ macro
/illumos-gate/usr/src/cmd/sh/
H A Djobs.c335 collectjobs(WNOHANG); in freejobs()
827 collectjobs(WNOHANG);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.comsat.c201 while (wait3((struct wait *)0, WNOHANG, (struct rusage *)0) > 0) in reapchildren()
/illumos-gate/usr/src/test/os-tests/tests/spoof-ras/
H A Dspoof-ras.c422 while ((retpid = waitpid(dtrace, stat, WNOHANG)) == -1) { in spoof_dtrace_wait()
/illumos-gate/usr/src/ucblib/libucb/port/sys/
H A Dwait4.c93 if (options & ~(WNOHANG|WUNTRACED)) in wait4()
113 if ((options & WNOHANG) && (info.si_pid == 0)) in wait4()
/illumos-gate/usr/src/ucbhead/sys/
H A Dwait.h115 #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 Dportable.h106 #define WAIT_FLAGS ( WNOHANG | WUNTRACED | WCONTINUED )
108 #define WAIT_FLAGS ( WNOHANG | WUNTRACED )
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dwaitpid.c136 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 Dyp_b_subr.c152 while ((ret = waitid(P_ALL, 0, &infop, WNOHANG | WEXITED)) != -1) { in broadcast_proc_exit()
/illumos-gate/usr/src/cmd/truss/
H A Dprocset.c116 ~(WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG|WNOWAIT)) in woptions()
128 if (arg & WNOHANG) in woptions()
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_script.c1149 if (waitpid(pid, &child_status, WNOHANG) == pid) in kill_pid()
/illumos-gate/usr/src/cmd/ptools/preap/
H A Dpreap.c180 if (pr_waitid(Pr, P_PID, pid, &siginfo, WEXITED|WNOHANG) != 0) { in reap()
/illumos-gate/usr/src/cmd/power/
H A Dpowerd.c936 while (waitpid((pid_t)-1, &status, WNOHANG) > 0) in run_idlecheck()
/illumos-gate/usr/src/cmd/bnu/
H A Din.uucpd.c373 while ((pid = wait3(&status, WNOHANG, 0)) > 0) {
/illumos-gate/usr/src/uts/common/os/
H A Dexit.c1098 (options & ~WNOWAIT) == (WNOHANG | WEXITED) && in waitid()
1245 if (options & WNOHANG) { in waitid()
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dscalls.c1161 if (options & WNOHANG) in waitid()
/illumos-gate/usr/src/cmd/zlogin/
H A Dzlogin.c538 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 Dxargs.c1010 options |= WNOHANG; in procs_waitpid()
/illumos-gate/usr/src/cmd/uadmin/
H A Duadmin.c418 if ((rc = waitpid(pid, NULL, WNOHANG)) == pid) { in change_audit_file()
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmhandler.c269 rcode = waitid(P_ALL, 0, &info, WNOHANG|WEXITED); in sigchild()

12