Searched refs:wait4 (Results 1 - 23 of 23) sorted by relevance

/openbsd-current/lib/libc/sys/
H A Dw_wait4.c22 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 DMakefile.inc39 wait4 waitid write writev
/openbsd-current/lib/libc/gen/
H A Dwait.c37 return (wait4(WAIT_ANY, istat, 0, NULL));
H A Dwait3.c36 return (wait4(WAIT_ANY, istat, options, rup));
H A Dwaitpid.c37 return (wait4(pid, istat, options, NULL));
/openbsd-current/lib/libc/hidden/sys/
H A Dwait.h26 PROTO_CANCEL(wait4); variable
/openbsd-current/regress/lib/libc/sys/
H A Dt_wait_noproc.c98 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 Daccept.c76 while (!ischild && wait4(-1, &status, 0, NULL) > 0)
/openbsd-current/sys/sys/
H A Dwait.h42 * 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 Dcancel_wait.c5 * 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 DProgram.inc344 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 Dyppush.c195 wait4(pid, &status, 0, &res);
/openbsd-current/gnu/lib/libiberty/src/
H A Dpex-unix.c84 time that it took. This is simple if we have wait4, slightly
103 ret = wait4 (pid, status, 0, &r);
H A Dconfigure4967 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 Dapmd.c723 wait4(pid, &status, 0, 0);
/openbsd-current/usr.sbin/ifstated/
H A Difstated.c386 if (wait4(external->pid, &s, WNOHANG, NULL) == 0)
/openbsd-current/usr.sbin/rpc.lockd/
H A Dlockd_lock.c439 pid = wait4(-1, &sstatus, WNOHANG, NULL);
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.cpp775 return internal_syscall(SYSCALL(wait4), pid, (uptr)status, options,
H A Dsanitizer_common_interceptors.inc125 #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 Dsyscall_emulator.c109 ret = wait4(pid, status, options, rusage);
H A Dutil.c3133 waitpid() nor wait4() is available, or on OS/2, which
3186 result = wait4(pid,statusp,flags,NULL);
H A Dconfig_h.SH595 * This symbol, if defined, indicates that wait4() exists.
/openbsd-current/usr.sbin/npppd/npppd/
H A Dnpppd.c1968 if (wait4(wpid, &status, WNOHANG, NULL) == wpid) {

Completed in 415 milliseconds