Home
last modified time | relevance | path

Searched refs:wait4 (Results 1 – 25 of 49) sorted by relevance

12

/freebsd-14.2/contrib/netbsd-tests/lib/libc/sys/
H A Dt_wait_noproc.c98 ATF_TC(wait4);
99 ATF_TC_HEAD(wait4, tc) in ATF_TC_HEAD() argument
106 ATF_TC_BODY(wait4, tc) in ATF_TC_BODY() argument
109 wait4(WAIT_ANY, NULL, TWAIT_OPTION, NULL) == -1); in ATF_TC_BODY()
298 wait4(WAIT_ANY, NULL, o | TWAIT_OPTION, NULL) == -1); in ATF_TC_BODY()
332 ATF_TP_ADD_TC(tp, wait4); in ATF_TP_ADD_TCS()
/freebsd-14.2/tools/test/stress2/misc/
H A Dptrace2.sh71 wait4(pid, &status, 0, NULL);
113 wait4(pid, &status, 0, NULL);
126 wait4(pid, &status, 0, NULL);
H A Dpdfork.sh44 int error = wait4(pid, &status, WEXITED, NULL);
H A Dptrace.sh77 if ((rpid = wait4(-1, &status, WNOHANG, &ru)) == -1) {
H A Dptrace11.sh92 wait4(pida, &status, 0, NULL);
H A Dvfork.sh98 if ((rpid = wait4(-1, &status, WNOHANG, &ru)) == -1) {
H A Dnfsdepth.sh211 while (wait4(pid, &status, WNOHANG, NULL) != pid) {
/freebsd-14.2/lib/libc/sys/
H A Dwait4.c38 #pragma weak wait4 macro
40 wait4(pid_t pid, int *status, int options, struct rusage *ru) in wait4() function
H A Dinterposing_table.c68 SLOT(wait4, __sys_wait4),
H A DMakefile.inc95 wait4 \
523 wait.2 wait4.2 \
/freebsd-14.2/contrib/capsicum-test/
H A Dsmoketest.c93 rc = wait4(-1, &status, WNOHANG, NULL); in main()
122 rc = wait4(child, &status, 0, NULL); in main()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/Unix/
H A DProgram.inc346 static pid_t(wait4)(pid_t pid, int *status, int options, struct rusage *usage);
348 using ::wait4;
356 extern "C" pid_t(wait4)(pid_t pid, int *status, int options,
359 pid_t(llvm::sys::wait4)(pid_t pid, int *status, int options,
365 // AIX wait4 does not work well with WNOHANG.
367 return ::wait4(pid, status, options, usage);
384 return ::wait4(pid, status, options & ~WNOHANG, usage);
425 WaitResult.Pid = sys::wait4(ChildPid, &status, WaitPidOptions, &Info);
/freebsd-14.2/crypto/openssh/openbsd-compat/
H A Dbsd-waitpid.c46 wait_pid = wait4(pid, &statusp, options, NULL); in waitpid()
/freebsd-14.2/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc/
H A Dtst.macroglob.ksh.out21 wait4 entry
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/SystemZ/
H A DzOSSupport.h30 inline pid_t wait4(pid_t pid, int *wstatus, int options, in wait4() function
/freebsd-14.2/contrib/bmake/
H A Dwait.h75 # define waitpid(pid, statusp, flags) wait4(pid, statusp, flags, (char *)0)
/freebsd-14.2/sys/sys/
H A Dwait.h168 pid_t wait4(pid_t, int *, int, struct rusage *);
/freebsd-14.2/contrib/netbsd-tests/kernel/
H A Dt_ptrace_wait.h90 # define TWAIT_WAIT4TYPE(a,b,c,d) wait4((a),(b),(c),(d))
91 # define TWAIT_GENERIC(a,b,c) wait4((a),(b),(c),NULL)
/freebsd-14.2/usr.sbin/autofs/
H A Dautomountd.c403 pid = wait4(-1, &status, 0, NULL); in wait_for_children()
405 pid = wait4(-1, &status, WNOHANG, NULL); in wait_for_children()
H A Dpopen.c172 pid = wait4(cur->pid, &status, 0, NULL); in auto_pclose()
/freebsd-14.2/libexec/rpc.rwalld/
H A Drwalld.c139 while(wait4(-1, NULL, WNOHANG, NULL) > 0) in killkids()
/freebsd-14.2/usr.sbin/pmc/
H A Dcmd_pmc_stat.c426 if (wait4(pmc_util_get_pid(&pmc_args), &waitstatus, 0, &ru) > 0) { in pmc_stat_internal()
454 if (wait4(pmc_util_get_pid(&pmc_args), &waitstatus, 0, &ru) > 0) { in pmc_stat_internal()
/freebsd-14.2/contrib/smbfs/lib/smb/
H A Dsubr.c297 if (wait4(pid, (int *)&status, 0, NULL) != pid) { in safe_execv()
/freebsd-14.2/usr.sbin/iscsid/
H A Discsid.c670 pid = wait4(-1, &status, 0, NULL); in wait_for_children()
672 pid = wait4(-1, &status, WNOHANG, NULL); in wait_for_children()
/freebsd-14.2/lib/libc/include/
H A Dun-namespace.h219 #undef wait4

12