Searched refs:waitpid (Results 1 - 18 of 18) sorted by last modified time

/haiku/src/tests/system/kernel/
H A Dmmap_cut_tests.cpp122 waitpid(pid, &status, 0);
H A Dwait_test_1.c15 wait()/waitpid() should return -1 and set errno to ECHILD, since there
25 pid = waitpid(-1, &childStatus, 0);
26 printf("waitpid(-1, ...) returned %ld (%s)\n", pid, strerror(errno));
28 pid = waitpid(0, &childStatus, 0);
29 printf("waitpid(0, ...) returned %ld (%s)\n", pid, strerror(errno));
31 pid = waitpid(getpgrp(), &childStatus, 0);
32 printf("waitpid(%ld, ...) returned %ld (%s)\n", getpgrp(), pid, strerror(errno));
H A Dwait_test_2.cpp15 wait() should wait only once. If any argument is given, waitpid() should return
57 pid = waitpid(0, &childStatus, 0);
H A Dwait_test_3.cpp15 waitpid() should wait only once.
55 pid = waitpid(0, &childStatus, 0);
56 printf("waitpid() returned %ld (%s), child status %d\n", pid, strerror(errno), childStatus);
H A Dwait_test_4.cpp15 wait() should wait only once. If any argument is given, waitpid() should return
57 pid = waitpid(0, &childStatus, 0);
/haiku/src/system/libroot/stubbed/
H A Dlibroot_stubs_legacy.c2646 void waitpid() {} function
H A Dlibroot_stubs.c2656 void waitpid() {} function
/haiku/src/tests/kits/net/netservices2/
H A DTestServer.cpp172 result = ::waitpid(fChildPid, NULL, 0);
/haiku/src/system/libroot/posix/
H A Dspawn.cpp526 waitpid(pid, NULL, WNOHANG);
/haiku/src/system/libroot/posix/unistd/
H A Dsystem.cpp50 while ((result = waitpid(thread, &exitStatus, 0)) < 0
52 // waitpid() was interrupted by a signal, retry...
/haiku/src/bin/network/ftpd/
H A Dpopen.c198 while ((pid = waitpid(pids[fdes], &status, 0)) < 0 && errno == EINTR)
H A Dftpd.c3316 while (waitpid(-1, NULL, WNOHANG) > 0);
/haiku/src/tests/kits/net/service/
H A DTestServer.cpp183 result = ::waitpid(fChildPid, NULL, 0);
/haiku/src/tests/system/network/
H A Dtcp_server.c27 while (waitpid(-1, NULL, WNOHANG) > 0) {
/haiku/src/system/libroot/posix/sys/
H A Dwait.cpp23 return waitpid(-1, _status, 0);
88 waitpid(pid_t pid, int* _status, int options) function
97 // translate the idType, id pair to a waitpid() style ID
/haiku/src/tests/system/libroot/posix/
H A Dposix_spawn_test.cpp24 pid_t waitpid_res = waitpid(pid, &status, 0);
26 printf("posix_spawnp: waitpid didn't return pid\n");
38 waitpid_res = waitpid(pid, &status, 0);
40 printf("posix_spawn: waitpid didn't return pid\n");
44 waitpid_res = waitpid(-1, NULL, 0);
45 printf("posix_spawn: waitpid %d, %d\n", waitpid_res, errno);
/haiku/src/system/libroot/posix/glibc/libio/
H A Diopopen.c234 wait_pid = waitpid(((_IO_proc_file *) fp)->pid, &wstatus, 0);
/haiku/headers/posix/sys/
H A Dwait.h13 /* waitpid()/waitid() options */
21 /* macros to interprete wait()/waitpid() status */
44 extern pid_t waitpid(pid_t pid, int *_status, int options);

Completed in 126 milliseconds