Home
last modified time | relevance | path

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

123

/src/lib/libc/sys/
H A Dwait4.c36 #pragma weak wait4 macro
38 wait4(pid_t pid, int *status, int options, struct rusage *ru) in wait4() function
40 return (INTERPOS_SYS(wait4, pid, status, options, ru)); in wait4()
H A Dwait.c46 return (INTERPOS_SYS(wait4, WAIT_ANY, istat, 0, NULL)); in __wait()
H A Dwait3.c46 return (INTERPOS_SYS(wait4, WAIT_ANY, istat, options, rup)); in __wait3()
H A Dwaitpid.c46 return (INTERPOS_SYS(wait4, pid, istat, options, NULL)); in __waitpid()
H A DSymbol.map31 wait4;
/src/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()
/src/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 Dvfork.sh96 if ((rpid = wait4(-1, &status, WNOHANG, &ru)) == -1) {
H A Dptrace11.sh92 wait4(pida, &status, 0, NULL);
H A Dnfsdepth.sh211 while (wait4(pid, &status, WNOHANG, NULL) != pid) {
/src/tests/sys/capsicum/
H A Dsmoketest.c86 rc = wait4(-1, &status, WNOHANG, NULL); in main()
113 rc = wait4(child, &status, 0, NULL); in main()
/src/contrib/llvm-project/llvm/lib/Support/Unix/
H A DProgram.inc356 static pid_t(wait4)(pid_t pid, int *status, int options, struct rusage *usage);
358 using ::wait4;
366 extern "C" pid_t(wait4)(pid_t pid, int *status, int options,
369 pid_t(llvm::sys::wait4)(pid_t pid, int *status, int options,
375 // AIX wait4 does not work well with WNOHANG.
377 return ::wait4(pid, status, options, usage);
394 return ::wait4(pid, status, options & ~WNOHANG, usage);
435 WaitResult.Pid = sys::wait4(ChildPid, &status, WaitPidOptions, &Info);
/src/crypto/openssh/openbsd-compat/
H A Dbsd-waitpid.c46 wait_pid = wait4(pid, &statusp, options, NULL); in waitpid()
/src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc/
H A Dtst.macroglob.ksh.out21 wait4 entry
/src/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
/src/contrib/bmake/
H A Dwait.h67 # define waitpid(pid, statusp, flags) wait4(pid, statusp, flags, (char *)0)
/src/lib/libsys/
H A Dinterposing_table.c66 SLOT(wait4, __sys_wait4),
/src/sys/sys/
H A Dwait.h166 pid_t wait4(pid_t, int *, int, struct rusage *);
/src/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)
/src/usr.sbin/autofs/
H A Dautomountd.c402 pid = wait4(-1, &status, 0, NULL); in wait_for_children()
404 pid = wait4(-1, &status, WNOHANG, NULL); in wait_for_children()
H A Dpopen.c171 pid = wait4(cur->pid, &status, 0, NULL); in auto_pclose()
/src/libexec/rpc.rwalld/
H A Drwalld.c139 while(wait4(-1, NULL, WNOHANG, NULL) > 0) in killkids()
/src/usr.sbin/pmc/
H A Dcmd_pmc_stat.c425 if (wait4(pmc_util_get_pid(&pmc_args), &waitstatus, 0, &ru) > 0) { in pmc_stat_internal()
453 if (wait4(pmc_util_get_pid(&pmc_args), &waitstatus, 0, &ru) > 0) { in pmc_stat_internal()

123