Home
last modified time | relevance | path

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

12

/freebsd-13.1/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-13.1/lib/libc/sys/
H A Dwait4.c42 #pragma weak wait4 macro
44 wait4(pid_t pid, int *status, int options, struct rusage *ru) in wait4() function
H A Dinterposing_table.c72 SLOT(wait4, __sys_wait4),
H A DMakefile.inc95 wait4 \
508 wait.2 wait4.2 \
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/Support/Unix/
H A DProgram.inc339 using ::wait4;
341 static pid_t (wait4)(pid_t pid, int *status, int options, struct rusage *usage);
349 extern "C" pid_t (wait4)(pid_t pid, int *status, int options,
352 pid_t (llvm::sys::wait4)(pid_t pid, int *status, int options,
358 // AIX wait4 does not work well with WNOHANG.
360 return ::wait4(pid, status, options, usage);
377 return ::wait4(pid, status, options & ~WNOHANG, usage);
412 WaitResult.Pid = sys::wait4(ChildPid, &status, WaitPidOptions, &Info);
/freebsd-13.1/crypto/openssh/openbsd-compat/
H A Dbsd-waitpid.c46 wait_pid = wait4(pid, &statusp, options, NULL); in waitpid()
/freebsd-13.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc/
H A Dtst.macroglob.ksh.out21 wait4 entry
/freebsd-13.1/contrib/bmake/
H A Dwait.h75 # define waitpid(pid, statusp, flags) wait4(pid, statusp, flags, (char *)0)
/freebsd-13.1/sys/sys/
H A Dwait.h169 pid_t wait4(pid_t, int *, int, struct rusage *);
/freebsd-13.1/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-13.1/usr.sbin/autofs/
H A Dautomountd.c405 pid = wait4(-1, &status, 0, NULL); in wait_for_children()
407 pid = wait4(-1, &status, WNOHANG, NULL); in wait_for_children()
H A Dpopen.c174 pid = wait4(cur->pid, &status, 0, NULL); in auto_pclose()
/freebsd-13.1/libexec/rpc.rwalld/
H A Drwalld.c141 while(wait4(-1, NULL, WNOHANG, NULL) > 0) in killkids()
/freebsd-13.1/usr.sbin/pmc/
H A Dcmd_pmc_stat.c428 if (wait4(pmc_util_get_pid(&pmc_args), &waitstatus, 0, &ru) > 0) { in pmc_stat_internal()
456 if (wait4(pmc_util_get_pid(&pmc_args), &waitstatus, 0, &ru) > 0) { in pmc_stat_internal()
/freebsd-13.1/usr.sbin/iscsid/
H A Discsid.c557 pid = wait4(-1, &status, 0, NULL); in wait_for_children()
559 pid = wait4(-1, &status, WNOHANG, NULL); in wait_for_children()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/scripts/
H A Dglobal_symbols.txt158 wait4 U
/freebsd-13.1/contrib/smbfs/lib/smb/
H A Dsubr.c297 if (wait4(pid, (int *)&status, 0, NULL) != pid) { in safe_execv()
/freebsd-13.1/lib/libc/include/
H A Dnamespace.h240 #define wait4 _wait4 macro
H A Dun-namespace.h221 #undef wait4
/freebsd-13.1/usr.bin/time/
H A Dtime.c141 while (wait4(pid, &status, 0, &ru) != pid) { in main()
/freebsd-13.1/sys/contrib/openzfs/cmd/zed/
H A Dzed_exec.c212 pid = wait4(0, &status, WNOHANG, &usage); in _reap_children()
/freebsd-13.1/bin/sh/tests/builtins/
H A DMakefile182 ${PACKAGE}FILES+= wait4.0
/freebsd-13.1/usr.sbin/cron/cron/
H A Ddo_command.c669 while ((pid = wait4(childpid, &waiter, 0, NULL)) < 0 && errno == EINTR) in wait_on_child()
/freebsd-13.1/usr.sbin/rpc.statd/
H A Dstatd.c647 pid = wait4(-1, &status, WNOHANG, (struct rusage*)0); in handle_sigchld()

12