/third_party/musl/libc-test/src/functionalext/supplement/signal/ |
H A D | killpg.c | 54 int ret = killpg(getpgrp(), SIGCHLD); in killpg_0100() 78 int ret = killpg(-1, -1); in killpg_0200()
|
/third_party/musl/src/signal/ |
H A D | killpg.c | 4 int killpg(pid_t pgid, int sig) in killpg() function
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/ |
H A D | 25-1-buildonly.c | 3 int killpg(pid_t, int); 15 dummyvar = killpg; in dummyfcn()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/killpg/ |
H A D | 2-1.c | 8 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 D | 8-1.c | 8 * 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 D | 4-1.c | 8 * 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 D | 6-1.c | 8 * 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 D | 5-1.c | 8 * 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 D | 1-1.c | 8 * 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 D | 1-2.c | 10 * 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 D | socat.c | 106 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 D | run-posix-option-group-test.sh | 53 run_option_group_tests $BASEDIR/killpg
|
/third_party/rust/crates/nix/test/sys/ |
H A D | test_signal.rs | 16 killpg(getpgrp(), None) in test_killpg_none()
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | signal.h | 230 int killpg(pid_t, int);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | signal.h | 230 int killpg(pid_t, int);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | signal.h | 230 int killpg(pid_t, int);
|
/third_party/musl/porting/linux/user/include/ |
H A D | signal.h | 253 int killpg(pid_t, int);
|
/third_party/musl/include/ |
H A D | signal.h | 252 int killpg(pid_t, int);
|
/third_party/musl/libc-test/src/api/ |
H A D | signal.c | 155 {int(*p)(pid_t,int) = killpg;} in f()
|
/third_party/node/deps/v8/tools/testrunner/local/ |
H A D | command.py | 209 os.killpg(process.pid, signal.SIGKILL)
|
/third_party/rust/crates/nix/src/sys/ |
H A D | signal.rs | 917 #[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 D | runtest_mp.py | 41 USE_PROCESS_GROUP = (hasattr(os, "setsid") and hasattr(os, "killpg")) 185 os.killpg(popen.pid, signal.SIGKILL)
|
/third_party/mksh/ |
H A D | Build.sh | 2121 ac_test killpg <<-'EOF' 2123 int main(int ac, char *av[]) { return (av[0][killpg(123, ac)]); }
|
H A D | jobs.c | 29 #define mksh_killpg killpg 31 /* cross fingers and hope kill is killpg-endowed */
|
/third_party/rust/crates/libc/src/unix/ |
H A D | mod.rs | 984 link_name = "killpg$UNIX2003" 986 pub fn killpg(pgrp: pid_t, sig: ::c_int) -> ::c_int; in killpg() functions
|