Home
last modified time | relevance | path

Searched refs:WEXITED (Results 1 – 24 of 24) sorted by relevance

/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_wait_noproc.c83 WTRAPPED | WEXITED | TWAIT_OPTION) == -1); in ATF_TC_BODY()
124 WTRAPPED | WEXITED | TWAIT_OPTION, NULL, NULL) == -1); in ATF_TC_BODY()
145 WEXITED, in get_options6()
190 WEXITED, in get_options4()
H A Dt_wait.c89 ATF_REQUIRE(wait6(P_PID, pid, &st, WEXITED, &wru, &si) == pid); in ATF_TC_BODY()
125 ATF_REQUIRE(wait6(P_PID, pid, &st, WEXITED, &wru, &si) == pid); in ATF_TC_BODY()
170 ATF_REQUIRE(wait6(P_PID, pid, &st, WEXITED, &wru, &si) == pid); in ATF_TC_BODY()
239 ATF_REQUIRE(wait6(P_PID, pid, &st, WEXITED, &wru, &si) == pid); in ATF_TC_BODY()
306 ATF_REQUIRE(wait6(P_PID, pid, &st, WEXITED, &wru, &si) == pid); in ATF_TC_BODY()
/freebsd/tools/test/popss/
H A Dpopss.c59 error = waitpid(child, &status, WTRAPPED | WEXITED); in setup()
82 error = waitpid(child, &status, WTRAPPED | WEXITED); in setup()
/freebsd/tests/sys/kern/
H A Dsigwait.c306 ATF_REQUIRE(waitid(P_PID, pid, NULL, WEXITED) == 0); in ATF_TC_BODY()
372 ATF_REQUIRE(waitid(P_PID, pid, NULL, WEXITED) == 0); in test_sig_discard_ign()
412 ATF_REQUIRE(waitid(P_PID, kpid, &si, WEXITED) == 0); in support_check_sigchld()
475 ATF_REQUIRE(waitid(P_PID, pid, &si, WEXITED) == 0); in test_wait_dequeue_sigchld()
H A Dkill_zombie.c46 r = waitid(P_PID, child, NULL, WEXITED | WNOWAIT); in ATF_TC_BODY()
H A Dwaitpid_nohang.c54 r = waitid(P_PID, child, NULL, WEXITED | WNOWAIT); in ATF_TC_BODY()
H A Dreaper.c119 WNOWAIT | WEXITED) != 0) in ATF_TC_BODY()
268 WNOWAIT | WEXITED) != 0) in ATF_TC_BODY()
/freebsd/tools/test/stress2/misc/
H A Dpdfork.sh44 int error = wait4(pid, &status, WEXITED, NULL);
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/badioctl/
H A Dbadioctl.c124 while (waitpid(child, &status, WEXITED) != child) in main()
/freebsd/sys/sys/
H A Dwait.h82 #define WEXITED 16 /* Wait for exited processes. */ macro
/freebsd/contrib/netbsd-tests/kernel/
H A Dt_ptrace_wait.h79 waitid(P_PID,(a),NULL,(c)|WEXITED|WTRAPPED)
99 wait6(P_PID,(a),(b),(c)|WEXITED|WTRAPPED,NULL,NULL)
/freebsd/lib/libc/tests/stdio/
H A Dgets_s_test.c82 (void) waitpid(kidpid, &stat, WEXITED); in ATF_TC_BODY()
H A Dgetdelim_test.c398 ATF_REQUIRE(waitpid(pid, &status, WEXITED) != -1); in _nonblock_eagain()
/freebsd/sys/kern/
H A Dkern_exit.c1116 if (((options & WEXITED) == 0) && (p->p_state == PRS_ZOMBIE)) { in proc_to_reap()
1231 options |= WEXITED | WTRAPPED; in kern_wait()
1297 WEXITED | WTRAPPED | WLINUXCLONE)) != 0) in kern_wait6()
1299 if ((options & (WEXITED | WUNTRACED | WCONTINUED | WTRAPPED)) == 0) { in kern_wait6()
/freebsd/sbin/decryptcore/
H A Ddecryptcore.c65 if (waitpid(pid, &status, WUNTRACED | WEXITED) == -1) { in wait_for_process()
/freebsd/sbin/reboot/
H A Dreboot.c94 if (waitpid(p, &status, WEXITED) < 0) { in zfsbootcfg()
/freebsd/libexec/flua/modules/
H A Dlposix.c576 lua_pushflag(L, WEXITED);
/freebsd/sbin/dumpon/
H A Ddumpon.c362 error = waitpid(pid, &status, WEXITED); in genkey()
/freebsd/usr.bin/truss/
H A Dsetup.c763 if (waitid(P_ALL, 0, &si, WTRAPPED | WEXITED) == -1) { in eventloop()
/freebsd/lib/libsysdecode/
H A Dflags.c839 opt6 = options & (WEXITED | WTRAPPED); in sysdecode_wait4_options()
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DProgram.inc384 waitid(P_PID, pid, &WaitIdInfo, WNOWAIT | WEXITED | options);
/freebsd/tests/sys/audit/
H A Dprocess-control.c237 ATF_REQUIRE(wait6(P_ALL, 0, &status, WEXITED, NULL,NULL) != -1); in ATF_TC_BODY()
/freebsd/sys/compat/linux/
H A Dlinux_misc.c795 options |= WEXITED | WTRAPPED; in linux_wait4()
2445 *bsdopts |= WEXITED; in linux_to_bsd_waitopts()
/freebsd/cddl/contrib/opensolaris/cmd/lockstat/
H A Dlockstat.c1482 while (waitpid(child, &status, WEXITED) != child) in main()