/freebsd-13-stable/lib/libc/sys/ |
H A D | wait4.c | 42 #pragma weak wait4 macro 44 wait4(pid_t pid, int *status, int options, struct rusage *ru) function
|
H A D | interposing_table.c | 72 SLOT(wait4, __sys_wait4),
|
H A D | Makefile.inc | 90 wait4 \ 503 wait.2 wait4.2 \
|
/freebsd-13-stable/crypto/openssh/openbsd-compat/ |
H A D | bsd-waitpid.c | 43 /* wait4() wants pid=0 for indiscriminate wait. */ 46 wait_pid = wait4(pid, &statusp, options, NULL);
|
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_wait_noproc.c | 98 ATF_TC(wait4); variable 99 ATF_TC_HEAD(wait4, tc) 102 "Test that wait4(2) returns ECHILD for WAIT_ANY and option %s", 106 ATF_TC_BODY(wait4, tc) 109 wait4(WAIT_ANY, NULL, TWAIT_OPTION, NULL) == -1); 285 "Test that wait4(2) returns ECHILD for WAIT_ANY and option %s", 295 printf("Testing wait4(2) with options %x\n", o); 298 wait4(WAIT_ANY, NULL, o | TWAIT_OPTION, NULL) == -1); 332 ATF_TP_ADD_TC(tp, wait4);
|
/freebsd-13-stable/contrib/bmake/ |
H A D | wait.h | 75 # define waitpid(pid, statusp, flags) wait4(pid, statusp, flags, (char *)0)
|
/freebsd-13-stable/contrib/capsicum-test/ |
H A D | smoketest.c | 93 rc = wait4(-1, &status, WNOHANG, NULL); 94 if (rc > 0) fprintf(stderr, "*** wait4(-1, ...) unexpectedly found child %d\n", rc); 122 rc = wait4(child, &status, 0, NULL);
|
/freebsd-13-stable/sys/sys/ |
H A D | wait.h | 41 * This file holds definitions relevant to the wait4 system call and the 71 * Option bits for the third argument of wait4. WNOHANG causes the 134 * Tokens for special values of the "pid" parameter to wait4. 169 pid_t wait4(pid_t, int *, int, struct rusage *);
|
H A D | syscall.mk | 12 wait4.o \
|
/freebsd-13-stable/libexec/rpc.rwalld/ |
H A D | rwalld.c | 141 while(wait4(-1, NULL, WNOHANG, NULL) > 0)
|
/freebsd-13-stable/usr.sbin/autofs/ |
H A D | popen.c | 174 pid = wait4(cur->pid, &status, 0, NULL);
|
H A D | automountd.c | 405 pid = wait4(-1, &status, 0, NULL); 407 pid = wait4(-1, &status, WNOHANG, NULL);
|
/freebsd-13-stable/contrib/netbsd-tests/kernel/ |
H A D | t_ptrace_wait.h | 40 * - wait4(2)-like accepting pid_t, optional options parameter, struct rusage* 48 * In a common use-case wait4(2) and wait6(2)-like function can work the almost 50 * wait6(2) must specify P_PID for idtype to match wpid from wait4(2). 51 * To behave like wait4(2), wait6(2) the 'options' to wait must include 89 # define TWAIT_FNAME "wait4" 90 # define TWAIT_WAIT4TYPE(a,b,c,d) wait4((a),(b),(c),(d)) 91 # define TWAIT_GENERIC(a,b,c) wait4((a),(b),(c),NULL) 106 * - TWAIT_GENERIC() (wait, wait2, waitpid, wait3, wait4, wait6) 107 * - TWAIT_WAIT4TYPE() (wait2, waitpid, wait3, wait4) 113 * - TWAIT_HAVE_PID (wait2, waitpid, waitid, wait4, wait [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Program.inc | 335 using ::wait4; 337 static pid_t (wait4)(pid_t pid, int *status, int options, struct rusage *usage); 345 extern "C" pid_t (wait4)(pid_t pid, int *status, int options, 348 pid_t (llvm::sys::wait4)(pid_t pid, int *status, int options, 354 // AIX wait4 does not work well with WNOHANG. 356 return ::wait4(pid, status, options, usage); 373 return ::wait4(pid, status, options & ~WNOHANG, usage); 408 WaitResult.Pid = sys::wait4(ChildPid, &status, WaitPidOptions, &Info);
|
/freebsd-13-stable/contrib/smbfs/lib/smb/ |
H A D | subr.c | 297 if (wait4(pid, (int *)&status, 0, NULL) != pid) {
|
/freebsd-13-stable/lib/libc/include/ |
H A D | namespace.h | 240 #define wait4 _wait4 macro
|
H A D | un-namespace.h | 221 #undef wait4 macro
|
/freebsd-13-stable/usr.bin/time/ |
H A D | time.c | 141 while (wait4(pid, &status, 0, &ru) != pid) {
|
/freebsd-13-stable/usr.sbin/iscsid/ |
H A D | iscsid.c | 553 pid = wait4(-1, &status, 0, NULL); 555 pid = wait4(-1, &status, WNOHANG, NULL);
|
/freebsd-13-stable/usr.sbin/pmc/ |
H A D | cmd_pmc_stat.c | 421 if (wait4(pmc_util_get_pid(&pmc_args), &waitstatus, 0, &ru) > 0) { 449 if (wait4(pmc_util_get_pid(&pmc_args), &waitstatus, 0, &ru) > 0) {
|
/freebsd-13-stable/bin/sh/tests/builtins/ |
H A D | Makefile | 182 ${PACKAGE}FILES+= wait4.0
|
/freebsd-13-stable/sys/contrib/openzfs/cmd/zed/ |
H A D | zed_exec.c | 210 pid = wait4(0, &status, WNOHANG, &usage);
|
/freebsd-13-stable/lib/libthr/thread/ |
H A D | thr_syscalls.c | 679 SLOT(wait4);
|
/freebsd-13-stable/usr.sbin/cron/cron/ |
H A D | do_command.c | 669 while ((pid = wait4(childpid, &waiter, 0, NULL)) < 0 && errno == EINTR)
|
/freebsd-13-stable/usr.sbin/rpc.statd/ |
H A D | statd.c | 647 pid = wait4(-1, &status, WNOHANG, (struct rusage*)0);
|