/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | waitpid.c | 134 if (flags & WNOHANG) 156 if (flags & WNOHANG) signal(SIGCLD, handler); 159 if (flags & WNOHANG) 174 if (p == -1 && errno == EINVAL && (flags & ~WNOHANG)) 175 p = wait3(&s, flags & WNOHANG, NiL);
|
H A D | spawnveg.c | 69 if (waitpid(pid, &err, WNOHANG|WNOWAIT) == pid && EXIT_STATUS(err) == 127)
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | wait.h | 49 #ifndef WNOHANG 50 #define WNOHANG 1 macro
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | wait.h | 54 #define WNOHANG 0100 /* non blocking form of wait */ macro 63 #define WOPTMASK (WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG|WNOWAIT)
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | procclose.c | 58 flags |= WNOHANG; in procclose() 64 if (pid != p->pid && (flags & WNOHANG)) in procclose()
|
/illumos-gate/usr/src/cmd/csh/ |
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/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/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/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/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/lib/libc/port/stdio/ |
H A D | popen.c | 236 if (waitpid(pid, &status, WNOHANG) == pid) in pclose() 271 (void) waitpid(curr->pid, NULL, WNOHANG); in _insert_nolock()
|
/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/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/isns/isnsd/ |
H A D | main.c | 142 ret_pid = waitpid(isns_child_pid, &status, WNOHANG); in sigchld_handler()
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | send.c | 517 while (wait3((int *)0, WNOHANG, (struct rusage *)0) > 0) in mail1() 523 while (waitpid((pid_t)-1, (int *)0, WNOHANG) > 0) in mail1()
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | fork.c | 1153 w = waitpid(pid, &status, WNOHANG); in fork_with_timeout() 1183 (void) waitpid(pid, &status, WNOHANG); in fork_with_timeout()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | wait.c | 343 pid = waitpid(me->pid, &status, WNOHANG); in process_terminated_methods()
|
/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/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/contrib/ast/src/cmd/ksh93/sh/ |
H A D | jobs.c | 373 flags = WNOHANG|WUNTRACED|wcontinued; in job_reap() 380 if(!(flags&WNOHANG) && !sh.intrap && job.pwlist) in job_reap() 384 flags |= WNOHANG; in job_reap() 430 flags |= WNOHANG; in job_reap()
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | jobs.c | 335 collectjobs(WNOHANG); in freejobs() 827 collectjobs(WNOHANG);
|
/illumos-gate/usr/src/cmd/iscsid/ |
H A D | iscsid.c | 306 ret_pid = waitpid(iscsi_child_pid, &status, WNOHANG); in sigchld_handler()
|
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbiod-svc/ |
H A D | smbiod-svc.c | 519 while ((pid = waitpid(-1, &status, WNOHANG)) > 0) { in svc_sigchld()
|
/illumos-gate/usr/src/cmd/power/ |
H A D | sys-suspend.c | 180 if ((rc = waitpid(pid, NULL, WNOHANG)) == pid) { in change_audit_file()
|