/openbsd-current/lib/libc/sys/ |
H A D | w_wait4.c | 22 wait4(pid_t wpid, int *status, int options, struct rusage *rusage) function 27 ret = HIDDEN(wait4)(wpid, status, options, rusage); 31 DEF_CANCEL(wait4); variable
|
H A D | Makefile.inc | 39 wait4 waitid write writev
|
/openbsd-current/lib/libc/gen/ |
H A D | wait.c | 37 return (wait4(WAIT_ANY, istat, 0, NULL));
|
H A D | wait3.c | 36 return (wait4(WAIT_ANY, istat, options, rup));
|
H A D | waitpid.c | 37 return (wait4(pid, istat, options, NULL));
|
/openbsd-current/lib/libc/hidden/sys/ |
H A D | wait.h | 26 PROTO_CANCEL(wait4); variable
|
/openbsd-current/regress/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); 292 "Test that wait4(2) returns ECHILD for WAIT_ANY and option %s", 302 printf("Testing wait4(2) with options %x\n", o); 305 wait4(WAIT_ANY, NULL, o | TWAIT_OPTION, NULL) == -1); 341 ATF_TP_ADD_TC(tp, wait4);
|
/openbsd-current/regress/sys/kern/accept/ |
H A D | accept.c | 76 while (!ischild && wait4(-1, &status, 0, NULL) > 0)
|
/openbsd-current/sys/sys/ |
H A D | wait.h | 42 * This file holds definitions relevant to the wait4 system call 69 * Option bits for the third argument of wait4. WNOHANG causes the 96 * Tokens for special values of the "pid" parameter to wait4. 115 pid_t wait4(pid_t, int *, int, struct rusage *);
|
/openbsd-current/regress/lib/libpthread/cancel_wait/ |
H A D | cancel_wait.c | 5 * Check that a thread waiting in wait/waitpid/wait3/wait4 can be 47 wait4(child, &status, 0, NULL); 91 printf("trying wait4\n");
|
/openbsd-current/gnu/llvm/llvm/lib/Support/Unix/ |
H A D | Program.inc | 344 using ::wait4; 346 static pid_t(wait4)(pid_t pid, int *status, int options, struct rusage *usage); 354 extern "C" pid_t(wait4)(pid_t pid, int *status, int options, 357 pid_t(llvm::sys::wait4)(pid_t pid, int *status, int options, 363 // AIX wait4 does not work well with WNOHANG. 365 return ::wait4(pid, status, options, usage); 382 return ::wait4(pid, status, options & ~WNOHANG, usage); 422 WaitResult.Pid = sys::wait4(ChildPid, &status, WaitPidOptions, &Info);
|
/openbsd-current/usr.sbin/ypserv/yppush/ |
H A D | yppush.c | 195 wait4(pid, &status, 0, &res);
|
/openbsd-current/gnu/lib/libiberty/src/ |
H A D | pex-unix.c | 84 time that it took. This is simple if we have wait4, slightly 103 ret = wait4 (pid, status, 0, &r);
|
H A D | configure | 4967 checkfuncs="$checkfuncs getsysinfo table sysctl wait3 wait4 __fsetlocking" 5048 pstat_getstatic pstat_getdynamic sysmp getsysinfo table sysctl wait3 wait4 \
|
/openbsd-current/usr.sbin/apmd/ |
H A D | apmd.c | 723 wait4(pid, &status, 0, 0);
|
/openbsd-current/usr.sbin/ifstated/ |
H A D | ifstated.c | 386 if (wait4(external->pid, &s, WNOHANG, NULL) == 0)
|
/openbsd-current/usr.sbin/rpc.lockd/ |
H A D | lockd_lock.c | 439 pid = wait4(-1, &sstatus, WNOHANG, NULL);
|
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_linux.cpp | 775 return internal_syscall(SYSCALL(wait4), pid, (uptr)status, options,
|
H A D | sanitizer_common_interceptors.inc | 125 #define wait4 __wait450 198 #define wait4 __wait4_time64 2685 INTERCEPTOR(int, wait4, int pid, int *status, int options, void *rusage) { 2687 COMMON_INTERCEPTOR_ENTER(ctx, wait4, pid, status, options, rusage); 2691 int res = REAL(wait4)(pid, status, options, rusage); 2698 #define INIT_WAIT4 COMMON_INTERCEPT_FUNCTION(wait4);
|
/openbsd-current/gnu/usr.bin/perl/ |
H A D | syscall_emulator.c | 109 ret = wait4(pid, status, options, rusage);
|
H A D | util.c | 3133 waitpid() nor wait4() is available, or on OS/2, which 3186 result = wait4(pid,statusp,flags,NULL);
|
H A D | config_h.SH | 595 * This symbol, if defined, indicates that wait4() exists.
|
/openbsd-current/usr.sbin/npppd/npppd/ |
H A D | npppd.c | 1968 if (wait4(wpid, &status, WNOHANG, NULL) == wpid) {
|