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

123

/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/include/ac/
H A Dwait.h53 # define WAIT_FLAGS ( WNOHANG | WUNTRACED | WCONTINUED )
55 # define WAIT_FLAGS ( WNOHANG | WUNTRACED )
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/
H A Dgdb_wait.h39 in POSIX.1. We fail to define WNOHANG and WUNTRACED, which POSIX.1
108 #ifndef WNOHANG
109 #define WNOHANG 1 /* Don't block waiting. */ macro
/netbsd-6-1-5-RELEASE/usr.bin/window/
H A Dwwchild.c60 wait3(&status, WNOHANG|WUNTRACED, (struct rusage *)0)) > 0) {
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/
H A Dclone1.c80 retcode = wait4 (-1, &st, WNOHANG | __WCLONE, NULL);
/netbsd-6-1-5-RELEASE/games/sail/
H A Dpl_1.c136 pid = wait3(&status, WNOHANG, (struct rusage *)0);
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/amd/
H A Dsched.c265 while ((pid = waitpid((pid_t) -1, &w, WNOHANG)) > 0) {
267 while ((pid = wait3( &w, WNOHANG, (struct rusage *) NULL)) > 0) {
/netbsd-6-1-5-RELEASE/tests/lib/libc/sys/
H A Dt_select.c158 switch (waitpid(pid, &status, WNOHANG)) {
196 switch (waitpid(pid, &status, WNOHANG)) {
/netbsd-6-1-5-RELEASE/sys/sys/
H A Dwait.h71 * Option bits for the third argument of wait4. WNOHANG causes the
79 #define WNOHANG 0x00000001 /* don't hang in wait */ macro
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/kadmin/
H A Dkadm_conn.c101 while ((waitpid(-1, &status, WNOHANG)) > 0)
218 while ((waitpid(-1, &status, WNOHANG)) > 0)
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/daemons/cmirrord/
H A Dclogd.c200 while (!waitpid(pid, &status, WNOHANG) && !exit_now);
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/test/
H A Dharness.c104 while ((w = waitpid(pid, &st, WNOHANG)) == 0) {
/netbsd-6-1-5-RELEASE/sys/compat/linux32/common/
H A Dlinux32_wait.c113 options |= WNOHANG;
/netbsd-6-1-5-RELEASE/external/bsd/file/dist/src/
H A Dcompress.c500 #ifdef WNOHANG
501 while (waitpid(pid, NULL, WNOHANG) != -1)
/netbsd-6-1-5-RELEASE/tests/fs/common/
H A Dfstest_puffs.c444 if (waitpid(pargs->pta_childpid, &status, WNOHANG) > 0)
448 if (waitpid(pargs->pta_childpid, &status, WNOHANG) > 0)
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/
H A Dmain.c1073 #ifdef WNOHANG
1077 while ( waitpid( (pid_t)-1, NULL, WNOHANG ) > 0 || errno == EINTR );
1079 while ( wait3( NULL, WNOHANG, NULL ) > 0 || errno == EINTR );
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/gdbserver/
H A Dlynx-low.c394 ret = waitpid (pid, stat_loc, WNOHANG);
401 perror_with_name ("waitpid (WNOHANG)");
405 /* No event with WNOHANG. See if there is one with WUNTRACED. */
406 ret = waitpid (pid, stat_loc, WNOHANG | WUNTRACED);
413 perror_with_name ("waitpid (WNOHANG|WUNTRACED)");
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/tools/
H A Dpolldaemon.c25 while (wait4(-1, NULL, WNOHANG | WUNTRACED, NULL) > 0) ;
/netbsd-6-1-5-RELEASE/libexec/httpd/
H A Ddaemon-bozo.c73 while (waitpid(-1, NULL, WNOHANG) > 0) {
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/master/
H A Dmaster_spawn.c302 while ((pid = waitpid((pid_t) - 1, &status, WNOHANG)) > 0) {
/netbsd-6-1-5-RELEASE/usr.sbin/faithd/
H A Dtcp.c97 pid = wait3(&status, WNOHANG, (struct rusage *)0);
/netbsd-6-1-5-RELEASE/usr.sbin/isdn/isdnd/
H A Dexec.c63 if ((pid = waitpid(-1, &retstat, WNOHANG)) <= 0)
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/hlfsd/
H A Dhomedir.c297 while ((child = waitpid((pid_t) -1, &status, WNOHANG)) > 0) {
299 while ((child = wait3(&status, WNOHANG, (struct rusage *) NULL)) > 0) {
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/include/
H A Dam_defs.h537 # undef WNOHANG macro
547 # undef WNOHANG macro
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/racoon/
H A Dsession.c454 while (waitpid(-1, &s, WNOHANG) > 0)
/netbsd-6-1-5-RELEASE/distrib/utils/ssh/
H A Dssh.c262 while ((cpid = waitpid(0, &cstat, WNOHANG)) > 0) {

Completed in 406 milliseconds

123