Home
last modified time | relevance | path

Searched refs:waitpid (Results 26 - 50 of 413) sorted by relevance

12345678910>>...17

/third_party/musl/libc-test/src/functionalext/ldso_randomization/
H A Dldso_randomization_manual.c102 waitpid(pid, &status, 0); in dlopen_randomization_0700()
171 waitpid(pid, &status, 0); in dlopen_ext_randomization_0700()
246 waitpid(pid, &status, 0); in dlopen_ns_randomization_0700()
314 waitpid(pid, &status, 0); in dlsym_randomization_0200()
/third_party/musl/libc-test/src/functionalext/supplement/process/
H A Dwaitpid.c26 * @tc.desc : Test the waitpid function to waitpid for the child process
35 pid_t waitpid_for_pind = waitpid(pid, &status, options); in waitpid_0100()
37 t_error("%s waitpid get pid is %d are not want %d\n", __func__, waitpid_for_pind, pid); in waitpid_0100()
40 t_error("%s waitpid get status is %d are not 0\n", __func__, status); in waitpid_0100()
46 t_error("%s waitpid fork error\n"); in waitpid_0100()
52 * @tc.desc : Test the result of the waitpid function when the exit code of the child process is not 0
61 pid_t waitpid_for_pind = waitpid(pid, &status, options); in waitpid_0200()
63 t_error("%s waitpid get pid is %d are not want %d\n", __func__, waitpid_for_pind, pid); in waitpid_0200()
66 t_error("%s waitpid ge in waitpid_0200()
[all...]
/third_party/skia/third_party/externals/microhttpd/src/testzzuf/
H A Dsocat.c79 if (0 < waitpid (zzuf_pid, &status, WNOHANG)) in zzuf_socat_start()
109 waitpid (zzuf_pid, &status, 0); in zzuf_socat_stop()
/third_party/ltp/testcases/open_posix_testsuite/tools/
H A Dt0.c55 waitpid(pid_to_monitor, NULL, WNOHANG); in sighandler()
112 if (waitpid(pid_to_monitor, &status, 0) == in main()
116 perror("waitpid failed"); in main()
/third_party/ltp/testcases/realtime/func/pi-tests/
H A Dtest-skeleton.c80 killed = waitpid(pid, &status, WNOHANG | WUNTRACED); in timeout_handler()
114 termpid = waitpid(pid, &status, 0); in main()
/third_party/musl/libc-test/src/functional/
H A Dfcntl.c35 while (waitpid(pid, &status, 0)<0 && errno==EINTR); in main()
43 while (waitpid(pid, &status, 0)<0 && errno==EINTR); in main()
/third_party/skia/third_party/externals/microhttpd/src/testcurl/
H A Dgauger.h44 waitpid(__gauger_p,NULL,0);\
75 waitpid(__gauger_p,NULL,0);\
H A Dperf_get_concurrent.c215 waitpid (par[j], NULL, 0); in do_gets()
226 waitpid (pid, &status, 0); in join_gets()
301 while (0 == waitpid (pid, NULL, WNOHANG)) in testExternalGet()
/test/xts/hats/kernel/syscalls/net/accept4/
H A DAccept4ApiTest.cpp139 waitpid(pid, &status, 0); in HWTEST_F()
169 waitpid(pid, &status, 0); in HWTEST_F()
199 waitpid(pid, &status, 0); in HWTEST_F()
/third_party/ltp/testcases/kernel/syscalls/waitpid/
H A Dwaitpid03.c137 ret = waitpid(pid[MAXUPRC / 2], &status, 0); in main()
140 "waitpid(%d) returned %d.", in main()
148 * Child has already been waited on, waitpid should return in main()
151 ret = waitpid(pid[MAXUPRC / 2], &status, 0); in main()
H A Dwaitpid_common.h68 tst_res(TFAIL, "waitpid() set errno to %s, expected %s", in waitpid_errno_check()
81 ret = waitpid(wp_pid, wp_status, wp_opts); in waitpid_ret_test()
83 tst_res(TFAIL, "waitpid() returned %d, expected %d", in waitpid_ret_test()
101 pid = waitpid(wp_pid, &status, wp_opts); in reap_children()
117 tst_res(TFAIL, "waitpid() returned 0 unexpectedly"); in reap_children()
/third_party/libevdev/test/
H A Dtest-main.c39 waitpid(ppid, NULL, 0); in is_debugger_attached()
46 waitpid(pid, &status, 0); in is_debugger_attached()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_yield/
H A D1-1.c110 waitpid(pid, NULL, 0); in main()
117 waitpid(pid, &s, 0); in main()
/third_party/rust/crates/rustix/src/process/
H A Dwait.rs6 /// Options for modifying the behavior of wait/waitpid
80 /// `waitpid(pid, waitopts)`—Wait for a specific process to change state.
103 /// [Linux]: https://man7.org/linux/man-pages/man2/waitpid.2.html
106 pub fn waitpid(pid: Option<Pid>, waitopts: WaitOptions) -> io::Result<Option<WaitStatus>> { in waitpid() functions
107 Ok(backend::process::syscalls::waitpid(pid, waitopts)?.map(|(_, status)| status)) in waitpid()
124 /// [Linux]: https://man7.org/linux/man-pages/man2/waitpid.2.html
/third_party/ltp/testcases/kernel/controllers/freezer/
H A Dvfork.c86 (void)waitpid(child, NULL, WNOHANG); /* Zombie children are bad. */ in kill_child()
240 process = waitpid(-1, &status, WUNTRACED); in do_trace()
345 if (waitpid(child, NULL, 0) != child) { in main()
346 tst_resm(TBROK | TERRNO, "waitpid(%d) failed", in main()
/test/xts/hats/kernel/madvise/
H A DMadviseApiTest.cpp272 waitpid(0, &status, 0); in HWTEST_F()
319 waitpid(0, &status, 0); in HWTEST_F()
354 waitpid(0, &status, 0); in HWTEST_F()
394 waitpid(0, &status, 0); in HWTEST_F()
438 waitpid(0, &status, 0); in HWTEST_F()
/third_party/ltp/testcases/kernel/syscalls/pipe/
H A Dpipe04.c174 if (waitpid(c1pid, &wtstatus, 0) != -1) { in main()
183 if (waitpid(c2pid, &wtstatus, 0) != -1) { in main()
/third_party/ltp/testcases/kernel/syscalls/rename/
H A Drename14.c119 waitpid(kidpid[0], NULL, 0); in main()
120 waitpid(kidpid[1], NULL, 0); in main()
/third_party/musl/libc-test/src/functionalext/fortify/
H A Dpoll.c68 waitpid(pid, &status, WUNTRACED); in poll_0020()
158 waitpid(pid, &status, WUNTRACED); in ppoll_0020()
/third_party/musl/src/process/
H A Dwait.c5 return waitpid((pid_t)-1, status, 0); in wait()
/third_party/ntfs-3g/libfuse-lite/
H A Dmount_util.c98 res = waitpid(res, &status, 0); in fuse_mnt_add_mount()
100 fprintf(stderr, "%s: waitpid: %s\n", progname, strerror(errno)); in fuse_mnt_add_mount()
139 res = waitpid(res, &status, 0); in fuse_mnt_umount()
141 fprintf(stderr, "%s: waitpid: %s\n", progname, strerror(errno)); in fuse_mnt_umount()
382 res = waitpid(res, &status, 0); in fuse_mnt_umount()
384 fprintf(stderr, "%s: waitpid: %s\n", progname, strerror(errno)); in fuse_mnt_umount()
/third_party/ltp/testcases/kernel/syscalls/ioctl/
H A Dioctl02.c153 waitpid(childpid, NULL, 0); in main()
165 waitpid(childpid, NULL, 0); in main()
177 (void)waitpid(childpid, NULL, 0); in main()
/third_party/libfuse/lib/
H A Dmount_util.c126 res = waitpid(res, &status, 0); in add_mount()
128 fprintf(stderr, "%s: waitpid: %s\n", progname, strerror(errno)); in add_mount()
190 res = waitpid(res, &status, 0); in exec_umount()
192 fprintf(stderr, "%s: waitpid: %s\n", progname, strerror(errno)); in exec_umount()
257 res = waitpid(res, &status, 0); in remove_mount()
259 fprintf(stderr, "%s: waitpid: %s\n", progname, strerror(errno)); in remove_mount()
/third_party/python/Lib/multiprocessing/
H A Dforkserver.py55 os.waitpid(self._forkserver_pid, 0)
116 pid, status = os.waitpid(self._forkserver_pid, os.WNOHANG)
233 pid, sts = os.waitpid(-1, os.WNOHANG)
251 warnings.warn('forkserver: waitpid returned '
/third_party/rust/crates/nix/src/sys/
H A Dwait.rs16 /// Controls the behavior of [`waitpid`].
78 /// Possible return values from `wait()` or `waitpid()`.
128 /// was used (otherwise `wait()` or `waitpid()` would block until
195 /// Convert a raw `wstatus` as returned by `waitpid`/`wait` into a `WaitStatus`
203 /// Convert a `wstatus` obtained from `libc::waitpid` into a `WaitStatus`:
304 /// See also [waitpid(2)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/waitpid.html)
305 pub fn waitpid<P: Into<Option<Pid>>>( in waitpid() functions
319 libc::waitpid( in waitpid()
336 waitpid(Non in wait()
[all...]

Completed in 10 milliseconds

12345678910>>...17