Home
last modified time | relevance | path

Searched refs:getpgrp (Results 1 - 25 of 41) sorted by relevance

12

/third_party/rust/crates/rustix/tests/process/
H A 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/
H A Dsetpgid01.c82 pgid = getpgrp(); in setpgid_test1()
86 if (TEST_RETURN == -1 || getpgrp() != pgid) { in setpgid_test1()
120 pgid = getpgrp(); in setpgid_test2()
H A Dsetpgid02.c41 pgid = getpgrp(); in setup()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dgetpgrp.c27 pid_t gpid = getpgrp(); in getpgrp_0100()
32 pid_t gpid_child = getpgrp(); in getpgrp_0100()
H A Dsetpgrp.c28 if (pt == -1 && getpgrp() != getpid()) { in setpgrp_0100()
/third_party/musl/libc-test/src/functionalext/supplement/manual/unistd/
H A Dtcgetpgrp.c33 } else if (pid == getpgrp()) { in tcgetpgrp_handler()
54 result = tcsetpgrp(STDIN_FILENO, getpgrp()); in tcgetpgrp_0100()
H A Dtcsetpgrp.c33 } else if (pid == getpgrp()) { in tcgetpgrp_handler()
54 result = tcsetpgrp(STDIN_FILENO, getpgrp()); in tcsetpgrp_0100()
/third_party/python/Lib/test/
H A 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/ltp/testcases/kernel/syscalls/setpgrp/
H A Dsetpgrp02.c28 * Check the values that setpgrp() and getpgrp() return. The setpgrp()
78 oldpgrp = getpgrp(); in main()
89 if (getpgrp() == oldpgrp) { in main()
H A Dsetpgrp01.c94 if (getpgrp() == getpid()) { in setup()
/third_party/musl/src/unistd/
H A Dgetpgrp.c4 pid_t getpgrp(void) in getpgrp() function
/third_party/rust/crates/rustix/src/process/
H A Did.rs283 /// `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 Dmod.rs46 getegid, geteuid, getgid, getpgid, getpgrp, getpid, getppid, getuid, setsid, Gid, Pid, RawGid,
/third_party/ltp/testcases/kernel/syscalls/getpgrp/
H A Dgetpgrp01.c11 * 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 D2-1.c21 if (killpg(getpgrp(), 0) != 0) { in main()
H A D4-1.c23 if ((pgrp = getpgrp()) == -1) { in main()
H A D6-1.c25 if ((pgrp = getpgrp()) == -1) { in main()
H A D5-1.c24 if ((pgrp = getpgrp()) == -1) { in main()
H A D1-1.c51 if ((pgrp = getpgrp()) == -1) { in main()
/third_party/ltp/testcases/kernel/syscalls/kill/
H A Dkill06.c30 TEST(kill(-getpgrp(), SIGKILL)); in verify_kill()
/third_party/musl/libc-test/src/functionalext/supplement/signal/
H A Dkillpg.c54 int ret = killpg(getpgrp(), SIGCHLD); in killpg_0100()
/third_party/rust/crates/nix/test/sys/
H A Dtest_signal.rs16 killpg(getpgrp(), None) in test_killpg_none()
/third_party/rust/crates/rustix/examples/
H A Dprocess.rs13 println!("Group Pid: {}", getpgrp().as_raw_nonzero()); in main()
/third_party/musl/porting/liteos_a/user/include/
H A Dunistd.h120 pid_t getpgrp(void);
/third_party/musl/porting/uniproton/kernel/include/
H A Dunistd.h95 pid_t getpgrp(void);

Completed in 7 milliseconds

12