/illumos-gate/usr/src/lib/libast/common/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/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/lib/libast/amd64/include/ast/ |
H A D | wait.h | 58 #ifndef WNOHANG 59 #define WNOHANG 1 macro
|
/illumos-gate/usr/src/lib/libast/common/include/ |
H A D | wait.h | 49 #ifndef WNOHANG 50 #define WNOHANG 1 macro
|
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | procclose.c | 56 flags |= WNOHANG; 62 if (pid != p->pid && (flags & WNOHANG))
|
/illumos-gate/usr/src/lib/libast/i386/include/ast/ |
H A D | wait.h | 58 #ifndef WNOHANG 59 #define WNOHANG 1 macro
|
/illumos-gate/usr/src/lib/libast/sparc/include/ast/ |
H A D | wait.h | 58 #ifndef WNOHANG 59 #define WNOHANG 1 macro
|
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | wait.h | 58 #ifndef WNOHANG 59 #define WNOHANG 1 macro
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | wait.c | 136 * BSD's wait* routines only support WNOHANG & WUNTRACED 138 if (options & ~(WNOHANG|WUNTRACED)) 141 if (options & WNOHANG) 190 * BSD's wait* routines only support WNOHANG & WUNTRACED 192 if (options & ~(WNOHANG|WUNTRACED)) 195 if (options & WNOHANG) 216 if ((options & WNOHANG) && (info.si_pid == 0))
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | wait.h | 85 * Option bits for the second argument of wait3. WNOHANG causes the 93 #define WNOHANG 1 /* dont hang in wait */ macro
|
H A D | wait3.c | 19 * binary compatible, since BSD's WNOHANG and WUNTRACED 75 * BSD's wait3() only supports WNOHANG & WUNTRACED 77 options |= (WNOHANG|WUNTRACED|WEXITED|WSTOPPED|WTRAPPED|WCONTINUED); 83 if ((options & WNOHANG) && (info.si_pid == 0))
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | procset.c | 119 ~(WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG|WNOWAIT)) 131 if (arg & WNOHANG) 132 (void) strcat(str, "|WNOHANG");
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | wait.h | 117 #define WNOHANG 0100 /* non blocking form of wait */ macro 120 #define WOPTMASK (WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG|WNOWAIT)
|
/illumos-gate/usr/src/ucblib/libucb/port/sys/ |
H A D | wait4.c | 93 * SunOS's wait4() only supports WNOHANG & WUNTRACED 95 if (options & ~(WNOHANG|WUNTRACED)) 115 if ((options & WNOHANG) && (info.si_pid == 0))
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | waitpid.c | 134 * SunOS's wait4() previously supported only WNOHANG & 138 if (options & ~(WNOHANG|WUNTRACED|WCONTINUED)) { 162 if ((options & WNOHANG) && info.si_pid == 0)
|
/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | wait.h | 71 * Option bits for the second argument of wait3. WNOHANG causes the 79 #define WNOHANG 1 /* dont hang in wait */ macro
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | popen.c | 235 /* waitpid(..., WNOHANG) is not a cancellation point */ 236 if (waitpid(pid, &status, WNOHANG) == pid) 271 (void) waitpid(curr->pid, NULL, WNOHANG);
|
/illumos-gate/usr/src/lib/libldap5/include/ldap/ |
H A D | portable.h | 108 #define WAIT_FLAGS ( WNOHANG | WUNTRACED | WCONTINUED ) 110 #define WAIT_FLAGS ( WNOHANG | WUNTRACED )
|
/illumos-gate/usr/src/cmd/ptools/preap/ |
H A D | preap.c | 182 if (pr_waitid(Pr, P_PID, pid, &siginfo, WEXITED|WNOHANG) != 0) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | wait.c | 343 pid = waitpid(me->pid, &status, WNOHANG);
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | main.c | 142 ret_pid = waitpid(isns_child_pid, &status, WNOHANG);
|
/illumos-gate/usr/src/cmd/uadmin/ |
H A D | uadmin.c | 418 if ((rc = waitpid(pid, NULL, WNOHANG)) == pid) {
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | send.c | 516 while (wait3((int *)0, WNOHANG, (struct rusage *)0) > 0) 522 while (waitpid((pid_t)-1, (int *)0, WNOHANG) > 0)
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | fork.c | 1153 w = waitpid(pid, &status, WNOHANG); 1183 (void) waitpid(pid, &status, WNOHANG);
|