Searched refs:WNOHANG (Results 1 – 7 of 7) sorted by relevance
| /xnu-12377.81.4/tests/ |
| H A D | freebsd_waitpid_nohang.c | 50 pid = waitpid(child, &status, WNOHANG); 60 pid = waitpid(child, &status, WNOHANG);
|
| H A D | suspended_spawn_26184412.c | 60 int waitpid_result = waitpid(child_pid, &status, WUNTRACED | WNOHANG); in spawn_and_signal()
|
| H A D | exec-race-58566604.c | 111 waitedpid = waitpid(child_pid, &status, WNOHANG); in run_test()
|
| /xnu-12377.81.4/bsd/sys/ |
| H A D | wait.h | 121 #define WNOHANG 0x00000001 /* [XSI] no hang in wait/no child to reap */ macro
|
| /xnu-12377.81.4/tests/signals/ |
| H A D | sigchld_return.c | 59 result = waitid(P_PID, expected_pid, &siginfo, WEXITED | WNOHANG); in wait_for_signal()
|
| /xnu-12377.81.4/tests/vm/ |
| H A D | memorystatus_jetsam_zprint_snapshot.c | 201 while (0 == waitpid(child_pid, &status, WNOHANG)) { in run_jzs_test()
|
| /xnu-12377.81.4/bsd/kern/ |
| H A D | kern_exit.c | 3129 if (uap->options & WNOHANG) { in wait4_nocancel() 3219 (uap->options & ~(WNOHANG | WNOWAIT | WCONTINUED | WSTOPPED | WEXITED))) { in waitid_nocancel() 3408 if (uap->options & WNOHANG) { in waitid_nocancel()
|