/third_party/ltp/pan/ |
D | ltp-pan.c | 88 int pgrp; member 96 int pgrp; member 388 running[keep_active].pgrp = -1; /* end sentinel */ in main() 535 if (running[i].pgrp == 0) in main() 627 if (orph->pgrp == 0) in main() 692 if (running[i].pgrp == 0) in propagate_signal() 697 send_signal, -running[i].pgrp); in propagate_signal() 698 if (kill(-running[i].pgrp, send_signal) != 0) { in propagate_signal() 701 panname, -running[i].pgrp, send_signal, in propagate_signal() 786 if (running[i].pgrp == cpid) { in check_pids() [all …]
|
/third_party/elfutils/tests/ |
D | run-readelf-mixed-corenote.sh | 31 pid: 11087, ppid: 11063, pgrp: 11087, sid: 11063 42 uid: 0, gid: 0, pid: 11087, ppid: 11063, pgrp: 11087, sid: 11063 97 pid: 805, ppid: 804, pgrp: 804, sid: 699 115 uid: 0, gid: 0, pid: 805, ppid: 804, pgrp: 804, sid: 699 162 pid: 839, ppid: 838, pgrp: 838, sid: 699 176 uid: 0, gid: 0, pid: 839, ppid: 838, pgrp: 838, sid: 699 234 pid: 9664, ppid: 2868, pgrp: 9664, sid: 2868 250 uid: 1000, gid: 1000, pid: 9664, ppid: 2868, pgrp: 9664, sid: 2868 301 pid: 16547, ppid: 3822, pgrp: 16547, sid: 3822 322 uid: 0, gid: 0, pid: 16547, ppid: 3822, pgrp: 16547, sid: 3822 [all …]
|
D | run-readelf-vmcoreinfo.sh | 30 pid: 3519, ppid: 0, pgrp: 0, sid: 0 48 pid: 0, ppid: 0, pgrp: 0, sid: 0
|
/third_party/musl/porting/liteos_a/user/src/unistd/ |
D | tcgetpgrp.c | 8 int pgrp; in tcgetpgrp() local 10 if (ioctl(fd, TIOCGPGRP, &pgrp) < 0) in tcgetpgrp() 12 return pgrp; in tcgetpgrp()
|
/third_party/musl/src/unistd/ |
D | tcgetpgrp.c | 8 int pgrp; in tcgetpgrp() local 10 if (ioctl(fd, TIOCGPGRP, &pgrp) < 0) in tcgetpgrp() 12 return pgrp; in tcgetpgrp()
|
D | tcsetpgrp.c | 5 int tcsetpgrp(int fd, pid_t pgrp) in tcsetpgrp() argument 7 int pgrp_int = pgrp; in tcsetpgrp()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/killpg/ |
D | 5-1.c | 22 int pgrp; in main() local 24 if ((pgrp = getpgrp()) == -1) { in main() 29 if (killpg(pgrp, -1) != -1) { in main()
|
D | 4-1.c | 21 int pgrp; in main() local 23 if ((pgrp = getpgrp()) == -1) { in main() 28 if (killpg(pgrp, 0) != 0) { in main()
|
D | 6-1.c | 23 int pgrp; in main() local 25 if ((pgrp = getpgrp()) == -1) { in main() 30 if (killpg(pgrp, -1) != -1) { in main()
|
D | 1-1.c | 37 int pgrp; in main() local 51 if ((pgrp = getpgrp()) == -1) { in main() 56 if (killpg(pgrp, SIGTOTEST) != 0) { in main()
|
/third_party/mksh/ |
D | jobs.c | 97 pid_t pgrp; /* process group of job */ member 299 if (j->pgrp == 0) in j_exit() 302 mksh_killpg(j->pgrp, SIGHUP); in j_exit() 305 if (j->pgrp == 0) in j_exit() 308 mksh_killpg(j->pgrp, SIGCONT); in j_exit() 500 j->pgrp = 0; 539 if (j->pgrp == 0) { 541 j->pgrp = p->pid; 549 setpgid(p->pid, j->pgrp); 551 tcsetpgrp(tty_fd, j->pgrp); [all …]
|
/third_party/musl/src/process/ |
D | posix_spawnattr_getpgroup.c | 4 int posix_spawnattr_getpgroup(const posix_spawnattr_t *restrict attr, pid_t *restrict pgrp) in posix_spawnattr_getpgroup() argument 7 *pgrp = attr->__pgrp; in posix_spawnattr_getpgroup()
|
D | posix_spawnattr_setpgroup.c | 4 int posix_spawnattr_setpgroup(posix_spawnattr_t *attr, pid_t pgrp) in posix_spawnattr_setpgroup() argument 7 attr->__pgrp = pgrp; in posix_spawnattr_setpgroup()
|
/third_party/musl/porting/liteos_a/user/src/process/ |
D | posix_spawnattr_getpgroup.c | 4 int posix_spawnattr_getpgroup(const posix_spawnattr_t *restrict attr, pid_t *restrict pgrp) in posix_spawnattr_getpgroup() argument 7 *pgrp = attr->__pgrp; in posix_spawnattr_getpgroup()
|
D | posix_spawnattr_setpgroup.c | 4 int posix_spawnattr_setpgroup(posix_spawnattr_t *attr, pid_t pgrp) in posix_spawnattr_setpgroup() argument 7 attr->__pgrp = pgrp; in posix_spawnattr_setpgroup()
|
/third_party/elfutils/backends/ |
D | linux-core-note.c | 162 FIELD (identity, PID_T, pgrp, 'd'), 197 FIELD (identity, PID_T, pgrp, 'd'),
|
/third_party/alsa-lib/src/pcm/ |
D | pcm_direct.c | 1991 struct group grp, *pgrp; local 1995 int st = getgrnam_r(group, &grp, buffer, len, &pgrp); 1996 if (st != 0 || !pgrp) { 2001 rec->ipc_gid = pgrp->gr_gid;
|
/third_party/rust/crates/nix/src/sys/ |
D | signal.rs | 949 pub fn killpg<T: Into<Option<Signal>>>(pgrp: Pid, signal: T) -> Result<()> { 950 let res = unsafe { libc::killpg(pgrp.into(),
|
/third_party/rust/crates/libc/src/unix/ |
D | mod.rs | 938 pub fn tcsetpgrp(fd: ::c_int, pgrp: ::pid_t) -> ::c_int; in tcsetpgrp() 986 pub fn killpg(pgrp: pid_t, sig: ::c_int) -> ::c_int; in killpg()
|
/third_party/rust/crates/nix/src/ |
D | unistd.rs | 380 pub fn tcsetpgrp(fd: c_int, pgrp: Pid) -> Result<()> { 381 let res = unsafe { libc::tcsetpgrp(fd, pgrp.into()) };
|
/third_party/python/Modules/clinic/ |
D | posixmodule.c.h | 4358 os_setpgid_impl(PyObject *module, pid_t pid, pid_t pgrp); 4365 pid_t pgrp; in os_setpgid() local 4368 &pid, &pgrp)) { in os_setpgid() 4371 return_value = os_setpgid_impl(module, pid, pgrp); in os_setpgid()
|
/third_party/python/Modules/ |
D | posixmodule.c | 9037 os_setpgid_impl(PyObject *module, pid_t pid, pid_t pgrp) in os_setpgid_impl() argument 9040 if (setpgid(pid, pgrp) < 0) in os_setpgid_impl()
|
/third_party/rust/crates/libc/src/fuchsia/ |
D | mod.rs | 3632 pub fn tcsetpgrp(fd: ::c_int, pgrp: ::pid_t) -> ::c_int; in tcsetpgrp()
|
/third_party/python/Doc/library/ |
D | os.rst | 571 .. function:: setpgid(pid, pgrp) 574 process with id *pid* to the process group with id *pgrp*. See the Unix manual
|
/third_party/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 11143 struct pid *pgrp; member
|