Home
last modified time | relevance | path

Searched refs:getpgrp (Results 1 – 25 of 67) sorted by relevance

123

/third_party/rust/crates/rustix/tests/process/
Did.rs95 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/
Dsetpgid01.c82 pgid = getpgrp(); in setpgid_test1()
86 if (TEST_RETURN == -1 || getpgrp() != pgid) { in setpgid_test1()
120 pgid = getpgrp(); in setpgid_test2()
Dsetpgid02.c135 pgid = getpgrp(); in setup()
/third_party/python/Lib/test/
Dtest_ioctl.py19 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/musl/libc-test/src/functionalext/supplement/unistd/
Dgetpgrp.c27 pid_t gpid = getpgrp(); in getpgrp_0100()
32 pid_t gpid_child = getpgrp(); in getpgrp_0100()
Dsetpgrp.c28 if (pt == -1 && getpgrp() != getpid()) { in setpgrp_0100()
Dtest_src_functionalext_supplement_unistd.gni68 "getpgrp",
/third_party/musl/libc-test/src/functionalext/supplement/manual/unistd/
Dtcsetpgrp.c33 } else if (pid == getpgrp()) { in tcgetpgrp_handler()
54 result = tcsetpgrp(STDIN_FILENO, getpgrp()); in tcsetpgrp_0100()
Dtcgetpgrp.c33 } else if (pid == getpgrp()) { in tcgetpgrp_handler()
54 result = tcsetpgrp(STDIN_FILENO, getpgrp()); in tcgetpgrp_0100()
/third_party/ltp/testcases/kernel/syscalls/setpgrp/
Dsetpgrp02.c78 oldpgrp = getpgrp(); in main()
89 if (getpgrp() == oldpgrp) { in main()
Dsetpgrp01.c94 if (getpgrp() == getpid()) { in setup()
/third_party/rust/crates/rustix/src/process/
Did.rs293 pub fn getpgrp() -> Pid { in getpgrp() function
294 backend::process::syscalls::getpgrp() in getpgrp()
Dmod.rs46 getegid, geteuid, getgid, getpgid, getpgrp, getpid, getppid, getuid, setsid, Gid, Pid, RawGid,
/third_party/musl/src/unistd/
Dgetpgrp.c4 pid_t getpgrp(void) in getpgrp() function
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/killpg/
D2-1.c21 if (killpg(getpgrp(), 0) != 0) { in main()
D5-1.c24 if ((pgrp = getpgrp()) == -1) { in main()
D4-1.c23 if ((pgrp = getpgrp()) == -1) { in main()
D6-1.c25 if ((pgrp = getpgrp()) == -1) { in main()
D1-1.c51 if ((pgrp = getpgrp()) == -1) { in main()
/third_party/ltp/testcases/kernel/syscalls/kill/
Dkill06.c30 TEST(kill(-getpgrp(), SIGKILL)); in verify_kill()
/third_party/ltp/testcases/kernel/syscalls/getpgrp/
Dgetpgrp01.c137 TEST(getpgrp()); in main()
/third_party/musl/libc-test/src/functionalext/supplement/signal/
Dkillpg.c54 int ret = killpg(getpgrp(), SIGCHLD); in killpg_0100()
/third_party/rust/crates/nix/test/sys/
Dtest_signal.rs16 killpg(getpgrp(), None) in test_killpg_none()
/third_party/rust/crates/rustix/examples/
Dprocess.rs13 println!("Group Pid: {}", getpgrp().as_raw_nonzero()); in main()
/third_party/rust/crates/rustix/src/backend/libc/process/
Dsyscalls.rs163 pub(crate) fn getpgrp() -> Pid { in getpgrp() function
165 let pgid = c::getpgrp(); in getpgrp()

123