| /src/lib/libc/gen/ | 
| wait.c | 55 	return (wait4(WAIT_ANY, istat, 0, (struct rusage *)NULL)); 
 | 
| wait3.c | 50 	return (wait4(WAIT_ANY, istat, options, rup)); 
 | 
| waitpid.c | 54 	return (wait4(pid, istat, options, (struct rusage *)0)); 
 | 
| /src/sys/compat/sys/ | 
| wait.h | 43 pid_t	wait4(pid_t, int *, int, struct rusage50 *); 
 | 
| /src/lib/libc/compat/sys/ | 
| compat_wait4.c | 48 __warn_references(wait4, 49     "warning: reference to compatibility wait4(); include <sys/wait.h> to generate correct reference")
 52 __weak_alias(wait4, _wait4)
 58  * libc12 compatible wait4 routine.
 74 wait4(pid_t wpid, int *status, int options, struct rusage50 *ru50)  function in typeref:typename:pid_t
 
 | 
| /src/tests/lib/libc/sys/ | 
| t_wait_noproc.c | 98 ATF_TC(wait4); 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);
 283 	    "Test that wait4(2) returns ECHILD for WAIT_ANY and option %s",
 293 		printf("Testing wait4(2) with options %x\n", o);
 296 		    wait4(WAIT_ANY, NULL, o | TWAIT_OPTION, NULL) == -1);
 330 	ATF_TP_ADD_TC(tp, wait4);
 
 | 
| 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
 92 #	define TWAIT_FNAME			"wait4"
 93 #	define TWAIT_WAIT4TYPE(a,b,c,d)		wait4((a),(b),(c),(d))
 94 #	define TWAIT_GENERIC(a,b,c)		wait4((a),(b),(c),NULL)
 111  * - TWAIT_GENERIC()	(wait, wait2, waitpid, wait3, wait4, wait6)
 112  * - TWAIT_WAIT4TYPE()	(wait2, waitpid, wait3, wait4)
 118  * - TWAIT_HAVE_PID	(wait2, waitpid, waitid, wait4, wait6
 [all...]
 | 
| /src/sys/sys/ | 
| wait.h | 44  * This file holds definitions relevant to the wait4 system call 95  *	Is the default for wait/wait3/wait4/waitpid (to report children
 138  * Tokens for special values of the "pid" parameter to wait4.
 147  * Structure of the information in the status word returned by wait4.
 209 pid_t	wait4(pid_t, int *, int, struct rusage *) __RENAME(__wait450);
 
 | 
| /src/tests/kernel/kqueue/ | 
| t_proc4.c | 130 				ATF_REQUIRE(wait4((pid_t)event.ident, 
 | 
| /src/usr.bin/time/ | 
| time.c | 138 	if ((pid = wait4(pid, &status, 0, &ru)) == -1) 139 		err(EXIT_FAILURE, "wait4 %d failed", pid);
 
 | 
| /src/usr.sbin/autofs/ | 
| popen.c | 177 		pid = wait4(cur->pid, &status, 0, NULL); 
 | 
| automountd.c | 406 			pid = wait4(-1, &status, 0, NULL); 408 			pid = wait4(-1, &status, WNOHANG, NULL);
 
 | 
| /src/usr.sbin/ypserv/yppush/ | 
| yppush.c | 407 	wait4(pid, NULL, 0, NULL); 
 | 
| /src/usr.sbin/apmd/ | 
| apmd.c | 558 	wait4(pid, &status, 0, 0); 
 | 
| /src/usr.sbin/tprof/ | 
| tprof.c | 498 		pid = wait4(-1, &status, 0, NULL); 503 			err(EXIT_FAILURE, "wait4");
 
 | 
| /src/usr.sbin/sysinst/ | 
| run.c | 586 		pid = wait4(child, &status, WNOHANG, 0); 
 | 
| net.c | 863 				wait4(pid, &status, WNOHANG, 0); 
 | 
| /src/usr.sbin/rpc.lockd/ | 
| lockd_lock.c | 441 		pid = wait4(-1, &sstatus, WNOHANG, NULL); 
 | 
| /src/lib/libc/include/ | 
| namespace.h | 804 #define wait4			_wait4  macro 
 | 
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ | 
| sanitizer_linux.cc | 730   return internal_syscall(SYSCALL(wait4), pid, (uptr)status, options, 
 | 
| sanitizer_common_interceptors.inc | 122 #define wait4 __wait450 2444 INTERCEPTOR(int, wait4, int pid, int *status, int options, void *rusage) {
 2446   COMMON_INTERCEPTOR_ENTER(ctx, wait4, pid, status, options, rusage);
 2450   int res = REAL(wait4)(pid, status, options, rusage);
 2457 #define INIT_WAIT4 COMMON_INTERCEPT_FUNCTION(wait4);
 
 |