/third_party/rust/crates/rustix/tests/process/ |
H A D | id.rs | 95 assert_eq!(process::getpgrp(), process::getpgrp()); in test_getpgrp() 98 process::getpgrp().as_raw_nonzero().get() as libc::pid_t, in test_getpgrp() 99 libc::getpgrp() in test_getpgrp()
|
/third_party/ltp/testcases/kernel/syscalls/setpgid/ |
H A D | setpgid01.c | 82 pgid = getpgrp(); in setpgid_test1() 86 if (TEST_RETURN == -1 || getpgrp() != pgid) { in setpgid_test1() 120 pgid = getpgrp(); in setpgid_test2()
|
H A D | setpgid02.c | 41 pgid = getpgrp(); in setup()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | getpgrp.c | 27 pid_t gpid = getpgrp(); in getpgrp_0100() 32 pid_t gpid_child = getpgrp(); in getpgrp_0100()
|
H A D | setpgrp.c | 28 if (pt == -1 && getpgrp() != getpid()) { in setpgrp_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/manual/unistd/ |
H A D | tcgetpgrp.c | 33 } else if (pid == getpgrp()) { in tcgetpgrp_handler() 54 result = tcsetpgrp(STDIN_FILENO, getpgrp()); in tcgetpgrp_0100()
|
H A D | tcsetpgrp.c | 33 } else if (pid == getpgrp()) { in tcgetpgrp_handler() 54 result = tcsetpgrp(STDIN_FILENO, getpgrp()); in tcsetpgrp_0100()
|
/third_party/python/Lib/test/ |
H A D | test_ioctl.py | 19 if rpgrp not in (os.getpgrp(), os.getsid(0)): 33 ids = (os.getpgrp(), os.getsid(0)) 42 ids = (os.getpgrp(), os.getsid(0))
|
/third_party/ltp/testcases/kernel/syscalls/setpgrp/ |
H A D | setpgrp02.c | 28 * Check the values that setpgrp() and getpgrp() return. The setpgrp() 78 oldpgrp = getpgrp(); in main() 89 if (getpgrp() == oldpgrp) { in main()
|
H A D | setpgrp01.c | 94 if (getpgrp() == getpid()) { in setup()
|
/third_party/musl/src/unistd/ |
H A D | getpgrp.c | 4 pid_t getpgrp(void) in getpgrp() function
|
/third_party/rust/crates/rustix/src/process/ |
H A D | id.rs | 283 /// `getpgrp()`—Returns the process' group ID. 289 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/getpgrp.html 290 /// [Linux]: https://man7.org/linux/man-pages/man2/getpgrp.2.html 293 pub fn getpgrp() -> Pid { in getpgrp() functions 294 backend::process::syscalls::getpgrp() in getpgrp()
|
H A D | mod.rs | 46 getegid, geteuid, getgid, getpgid, getpgrp, getpid, getppid, getuid, setsid, Gid, Pid, RawGid,
|
/third_party/ltp/testcases/kernel/syscalls/getpgrp/ |
H A D | getpgrp01.c | 11 * Verify that getpgrp(2) syscall executes successfully. 18 TST_EXP_PID(getpgrp()); in run()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/killpg/ |
H A D | 2-1.c | 21 if (killpg(getpgrp(), 0) != 0) { in main()
|
H A D | 4-1.c | 23 if ((pgrp = getpgrp()) == -1) { in main()
|
H A D | 6-1.c | 25 if ((pgrp = getpgrp()) == -1) { in main()
|
H A D | 5-1.c | 24 if ((pgrp = getpgrp()) == -1) { in main()
|
H A D | 1-1.c | 51 if ((pgrp = getpgrp()) == -1) { in main()
|
/third_party/ltp/testcases/kernel/syscalls/kill/ |
H A D | kill06.c | 30 TEST(kill(-getpgrp(), SIGKILL)); in verify_kill()
|
/third_party/musl/libc-test/src/functionalext/supplement/signal/ |
H A D | killpg.c | 54 int ret = killpg(getpgrp(), SIGCHLD); in killpg_0100()
|
/third_party/rust/crates/nix/test/sys/ |
H A D | test_signal.rs | 16 killpg(getpgrp(), None) in test_killpg_none()
|
/third_party/rust/crates/rustix/examples/ |
H A D | process.rs | 13 println!("Group Pid: {}", getpgrp().as_raw_nonzero()); in main()
|
/third_party/musl/porting/liteos_a/user/include/ |
H A D | unistd.h | 120 pid_t getpgrp(void);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | unistd.h | 95 pid_t getpgrp(void);
|