Home
last modified time | relevance | path

Searched refs:killpg (Results 1 - 25 of 28) sorted by relevance

12

/third_party/musl/libc-test/src/functionalext/supplement/signal/
H A Dkillpg.c54 int ret = killpg(getpgrp(), SIGCHLD); in killpg_0100()
78 int ret = killpg(-1, -1); in killpg_0200()
/third_party/musl/src/signal/
H A Dkillpg.c4 int killpg(pid_t pgid, int sig) in killpg() function
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/
H A D25-1-buildonly.c3 int killpg(pid_t, int);
15 dummyvar = killpg; in dummyfcn()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/killpg/
H A D2-1.c8 Call killpg on the current process with 0 as the signal number. If killpg
21 if (killpg(getpgrp(), 0) != 0) { in main()
22 printf("Could not call killpg with sig = 0\n"); in main()
H A D8-1.c8 * Test that the killpg() function shall set errno to ESRCH if it is
23 if (killpg(999999, 0) != -1) { in main()
25 ("killpg did not return -1 even though it was passed an invalid process group id."); in main()
31 ("killpg did not set errno to ESRCH even though it was passed an invalid signal number."); in main()
H A D4-1.c8 * Test that the killpg() function shall return 0 upon success.
28 if (killpg(pgrp, 0) != 0) { in main()
29 printf("killpg did not return success.\n"); in main()
H A D6-1.c8 * Test that the killpg() function shall set errno to EINVAL if it is
30 if (killpg(pgrp, -1) != -1) { in main()
32 ("killpg did not return -1 even though it was passed an invalid signal number."); in main()
38 ("killpg did not set errno to EINVAL even though it was passed an invalid signal number."); in main()
H A D5-1.c8 * Test that the killpg() function shall return -1 on failure.
29 if (killpg(pgrp, -1) != -1) { in main()
31 ("Test FAILED: killpg did not return -1 even though it was passed an invalid signal number."); in main()
H A D1-1.c8 * Test that the killpg() function shall send signal sig to the process
13 * 2. Call killpg on the current process group id, raising the signal.
56 if (killpg(pgrp, SIGTOTEST) != 0) { in main()
H A D1-2.c10 * 2) In the parent process, call killpg with signal SIGTOTEST for the
75 if (killpg(child_pgid, SIGTOTEST) != 0) { in main()
/third_party/skia/third_party/externals/microhttpd/src/testzzuf/
H A Dsocat.c106 if (0 != killpg (zzuf_pid, SIGINT)) in zzuf_socat_stop()
107 fprintf (stderr, "Failed to killpg: %s\n", strerror (errno)); in zzuf_socat_stop()
/third_party/ltp/testcases/open_posix_testsuite/bin/
H A Drun-posix-option-group-test.sh53 run_option_group_tests $BASEDIR/killpg
/third_party/rust/crates/nix/test/sys/
H A Dtest_signal.rs16 killpg(getpgrp(), None) in test_killpg_none()
/third_party/musl/porting/uniproton/kernel/include/
H A Dsignal.h230 int killpg(pid_t, int);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dsignal.h230 int killpg(pid_t, int);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dsignal.h230 int killpg(pid_t, int);
/third_party/musl/porting/linux/user/include/
H A Dsignal.h253 int killpg(pid_t, int);
/third_party/musl/include/
H A Dsignal.h252 int killpg(pid_t, int);
/third_party/musl/libc-test/src/api/
H A Dsignal.c155 {int(*p)(pid_t,int) = killpg;} in f()
/third_party/node/deps/v8/tools/testrunner/local/
H A Dcommand.py209 os.killpg(process.pid, signal.SIGKILL)
/third_party/rust/crates/nix/src/sys/
H A Dsignal.rs917 #[cfg_attr(target_os = "fuchsia", doc = "variant of `killpg`.")]
918 #[cfg_attr(not(target_os = "fuchsia"), doc = "variant of [`killpg`].")]
944 /// * `signal` - Signal to send. If `None`, `killpg` will only preform error
947 /// See Also [killpg(3)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/killpg.html).
949 pub fn killpg<T: Into<Option<Signal>>>(pgrp: Pid, signal: T) -> Result<()> { in killpg() functions
950 let res = unsafe { libc::killpg(pgrp.into(), in killpg()
/third_party/python/Lib/test/libregrtest/
H A Druntest_mp.py41 USE_PROCESS_GROUP = (hasattr(os, "setsid") and hasattr(os, "killpg"))
185 os.killpg(popen.pid, signal.SIGKILL)
/third_party/mksh/
H A DBuild.sh2121 ac_test killpg <<-'EOF'
2123 int main(int ac, char *av[]) { return (av[0][killpg(123, ac)]); }
H A Djobs.c29 #define mksh_killpg killpg
31 /* cross fingers and hope kill is killpg-endowed */
/third_party/rust/crates/libc/src/unix/
H A Dmod.rs984 link_name = "killpg$UNIX2003"
986 pub fn killpg(pgrp: pid_t, sig: ::c_int) -> ::c_int; in killpg() functions

Completed in 19 milliseconds

12