Searched refs:WNOHANG (Results 1 - 25 of 55) sorted by relevance

123

/illumos-gate/usr/src/lib/libast/common/comp/
H A Dwaitpid.c134 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 Dspawnveg.c69 if (waitpid(pid, &err, WNOHANG|WNOWAIT) == pid && EXIT_STATUS(err) == 127)
/illumos-gate/usr/src/uts/common/sys/
H A Dwait.h54 #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 Dwait.h58 #ifndef WNOHANG
59 #define WNOHANG 1 macro
/illumos-gate/usr/src/lib/libast/common/include/
H A Dwait.h49 #ifndef WNOHANG
50 #define WNOHANG 1 macro
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dprocclose.c56 flags |= WNOHANG;
62 if (pid != p->pid && (flags & WNOHANG))
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dwait.h58 #ifndef WNOHANG
59 #define WNOHANG 1 macro
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dwait.h58 #ifndef WNOHANG
59 #define WNOHANG 1 macro
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dwait.h58 #ifndef WNOHANG
59 #define WNOHANG 1 macro
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dwait.c136 * 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 Dwait.h85 * Option bits for the second argument of wait3. WNOHANG causes the
93 #define WNOHANG 1 /* dont hang in wait */ macro
H A Dwait3.c19 * 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 Dprocset.c119 ~(WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG|WNOWAIT))
131 if (arg & WNOHANG)
132 (void) strcat(str, "|WNOHANG");
/illumos-gate/usr/src/ucbhead/sys/
H A Dwait.h117 #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 Dwait4.c93 * 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 Dwaitpid.c134 * 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 Dwait.h71 * 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 Dpopen.c235 /* 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 Dportable.h108 #define WAIT_FLAGS ( WNOHANG | WUNTRACED | WCONTINUED )
110 #define WAIT_FLAGS ( WNOHANG | WUNTRACED )
/illumos-gate/usr/src/cmd/ptools/preap/
H A Dpreap.c182 if (pr_waitid(Pr, P_PID, pid, &siginfo, WEXITED|WNOHANG) != 0) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dwait.c343 pid = waitpid(me->pid, &status, WNOHANG);
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dmain.c142 ret_pid = waitpid(isns_child_pid, &status, WNOHANG);
/illumos-gate/usr/src/cmd/uadmin/
H A Duadmin.c418 if ((rc = waitpid(pid, NULL, WNOHANG)) == pid) {
/illumos-gate/usr/src/cmd/mailx/
H A Dsend.c516 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 Dfork.c1153 w = waitpid(pid, &status, WNOHANG);
1183 (void) waitpid(pid, &status, WNOHANG);

Completed in 99 milliseconds

123