/external/valgrind/main/gdbserver_tests/ |
fork_chain.c | 25 while((ret = waitpid(pid, &status, 0)) != pid) { 27 perror("waitpid");
|
clean_after_fork.c | 26 while((ret = waitpid(pid, &status, 0)) != pid) { 28 perror("waitpid");
|
/external/bison/lib/ |
sys_wait.in.h | 46 as returned by waitpid(). 89 as returned by waitpid() or, equivalently, _cwait() or GetExitCodeProcess(). 115 _GL_FUNCDECL_SYS (waitpid, pid_t, (pid_t pid, int *statusp, int options)); 117 _GL_CXXALIAS_SYS (waitpid, pid_t, (pid_t pid, int *statusp, int options)); 118 _GL_CXXALIASWARN (waitpid); variable 120 # undef waitpid 122 _GL_WARN_ON_USE (waitpid, "waitpid is unportable - "
|
/external/bison/m4/ |
waitpid.m4 | 0 # waitpid.m4 serial 2
|
/system/netd/ |
ClatdController.cpp | 79 waitpid(mClatdPid, NULL, 0); 92 waitpid_status = waitpid(mClatdPid, NULL, WNOHANG); 94 mClatdPid = 0; // child exited, don't call waitpid on it again
|
/external/chromium_org/third_party/mesa/src/scons/ |
fixes.py | 21 pid, status = os.waitpid(ret, 0)
|
/external/compiler-rt/lib/lsan/lit_tests/TestCases/ |
fork.cc | 19 waitpid(pid, &status, 0);
|
/external/mesa3d/scons/ |
fixes.py | 21 pid, status = os.waitpid(ret, 0)
|
/external/valgrind/main/none/tests/ |
fork.c | 21 waitpid(pid, NULL, 0);
|
async-sigs.c | 53 ret = waitpid(killer, &status, 0); 57 perror("kill/waitpid"); 114 if (waitpid(pid, &status, 0) != pid) { 115 fprintf(stderr, "FAILED: waitpid failed: %s\n", strerror(errno));
|
threaded-fork.c | 41 while(waitpid(childpid, &status, 0) != childpid) {
|
exec-sigmask.c | 29 ret = waitpid(pid, &status, 0); 32 perror("waitpid");
|
/system/extras/tests/bionic/libc/common/ |
test_clone.c | 75 child = waitpid (pid, &status, 0); 76 printf("waitpid returned %d\n", child); 78 perror ("waitpid");
|
/external/chromium_org/base/process/ |
kill_posix.cc | 32 // waitpid() has no direct support on POSIX for specifying a timeout, you can 38 // Our strategy is to call waitpid() once up front to check if the process 41 // waitpid(). The amount of time we sleep starts out at 1 milliseconds, and 51 pid_t ret_pid = HANDLE_EINTR(waitpid(handle, &status, WNOHANG)); 72 ret_pid = HANDLE_EINTR(waitpid(handle, &status, WNOHANG)); 90 const pid_t result = HANDLE_EINTR(waitpid(handle, &status, 93 DPLOG(ERROR) << "waitpid(" << handle << ")"; 154 pid_t pid = HANDLE_EINTR(waitpid(process_id, NULL, WNOHANG)); 210 if (HANDLE_EINTR(waitpid(handle, &status, 0)) == -1) { 252 // TODO(port): use waitpid to avoid leaving zombies aroun [all...] |
kill_mac.cc | 24 const pid_t result = HANDLE_EINTR(waitpid(child, NULL, 0)); 26 DPLOG(ERROR) << "waitpid(" << child << ", NULL, 0)"; 36 // time. Once the kqueue indicates the process has exited, waitpid will reap 47 // zombie that a non-blocking (WNOHANG) waitpid can reap. This condition is 49 // non-blocking waitpid fails to reap the process but indicates that it is 65 // work in that case, but waitpid won't, and killing a non-child might not be 100 result = HANDLE_EINTR(waitpid(child, NULL, WNOHANG)); 103 // A positive result indicates case 1. waitpid succeeded and reaped
|
/external/valgrind/main/drd/tests/ |
threaded-fork.c | 43 while (waitpid(childpid, &status, 0) != childpid) {
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/subprocessdata/ |
sigchild_ignore.py | 2 # On Linux this causes os.waitpid to fail with OSError as the OS has already
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/subprocessdata/ |
sigchild_ignore.py | 2 # On Linux this causes os.waitpid to fail with OSError as the OS has already
|
/system/core/debuggerd/ |
utility.c | 92 pid_t n = waitpid(tid, &status, __WALL | WNOHANG); 95 LOG("waitpid failed: %s\n", strerror(errno)); 98 XLOG("waitpid: n=%d status=%08x\n", n, status); 102 LOG("unexpected waitpid response: n=%d, status=%08x\n", n, status);
|
/external/compiler-rt/lib/asan/lit_tests/TestCases/Linux/ |
clone_test.cc | 29 pid_t wait_result = waitpid(clone_pid, &status, __WCLONE); 31 perror("waitpid");
|
/external/openssh/openbsd-compat/ |
bsd-waitpid.c | 30 #include "bsd-waitpid.h" 33 waitpid(int pid, int *stat_loc, int options) function
|
bsd-waitpid.h | 1 /* $Id: bsd-waitpid.h,v 1.5 2003/08/29 16:59:52 mouring Exp $ */ 48 pid_t waitpid(int, int *, int);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/ |
waitflags.h | 1 /* Definitions of flag bits for `waitpid' et al. 25 /* Bits in the third argument to `waitpid'. */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
waitflags.h | 1 /* Definitions of flag bits for `waitpid' et al. 25 /* Bits in the third argument to `waitpid'. */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
waitflags.h | 1 /* Definitions of flag bits for `waitpid' et al. 25 /* Bits in the third argument to `waitpid'. */
|