Home
last modified time | relevance | path

Searched refs:pgrp (Results 1 – 21 of 21) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/killpg/
D4-1.c21 int pgrp; in main() local
23 if ((pgrp = getpgrp()) == -1) { in main()
28 if (killpg(pgrp, 0) != 0) { in main()
D5-1.c22 int pgrp; in main() local
24 if ((pgrp = getpgrp()) == -1) { in main()
29 if (killpg(pgrp, -1) != -1) { in main()
D6-1.c23 int pgrp; in main() local
25 if ((pgrp = getpgrp()) == -1) { in main()
30 if (killpg(pgrp, -1) != -1) { in main()
D1-1.c37 int pgrp; in main() local
51 if ((pgrp = getpgrp()) == -1) { in main()
56 if (killpg(pgrp, SIGTOTEST) != 0) { in main()
/external/ltp/pan/
Dltp-pan.c88 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 …]
/external/elfutils/tests/
Drun-readelf-mixed-corenote.sh31 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 …]
Drun-readelf-vmcoreinfo.sh30 pid: 3519, ppid: 0, pgrp: 0, sid: 0
48 pid: 0, ppid: 0, pgrp: 0, sid: 0
/external/mksh/src/
Djobs.c96 pid_t pgrp; /* process group of job */ member
298 if (j->pgrp == 0) in j_exit()
301 mksh_killpg(j->pgrp, SIGHUP); in j_exit()
304 if (j->pgrp == 0) in j_exit()
307 mksh_killpg(j->pgrp, SIGCONT); in j_exit()
495 j->pgrp = 0; in exchild()
534 if (j->pgrp == 0) { in exchild()
536 j->pgrp = p->pid; in exchild()
544 setpgid(p->pid, j->pgrp); in exchild()
546 tcsetpgrp(tty_fd, j->pgrp); in exchild()
[all …]
/external/openssh/openbsd-compat/
Dbsd-nextstep.c75 int tcsetpgrp(int fd, pid_t pgrp) in tcsetpgrp() argument
77 return (ioctl(fd, TIOCSPGRP, &pgrp)); in tcsetpgrp()
/external/elfutils/backends/
Dlinux-core-note.c162 FIELD (identity, PID_T, pgrp, 'd'),
197 FIELD (identity, PID_T, pgrp, 'd'),
/external/u-boot/common/
Dcli_hush.c253 pid_t pgrp; /* process group ID for the job */ member
687 tcsetpgrp(shell_terminal, pi->pgrp); in builtin_fg_bg()
694 if ( (i=kill(- pi->pgrp, SIGCONT)) < 0) { in builtin_fg_bg()
1566 pi->pgrp = -1;
1728 if (pi->pgrp < 0) {
1729 pi->pgrp = getpid();
1731 if (setpgid(0, pi->pgrp) == 0) {
1732 tcsetpgrp(2, pi->pgrp);
1742 if (pi->pgrp < 0) {
1743 pi->pgrp = child->pid;
[all …]
/external/openssh/contrib/aix/
Dbuildbff.sh221 …mkuser gecos='SSHD PrivSep User' login=false rlogin=false account_locked=true pgrp=$SSH_PRIVSEP_US…
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/ScalarEvolution/
Davoid-infinite-recursion-1.ll27 %16 = type <{ %struct.pgrp*, %struct.pgrp** }> ; type %16
109 %struct.pgrp = type <{ %16, %13, %struct.session*, %struct.sigiolst, i32, i32, %struct.mtx }>
113 … i32, i32, %struct.itimers*, i32, i32, [20 x i8], i8, i8, i8, i8, %struct.pgrp*, %struct.sysentvec…
/external/llvm/test/Analysis/ScalarEvolution/
Davoid-infinite-recursion-1.ll26 %16 = type <{ %struct.pgrp*, %struct.pgrp** }> ; type %16
108 %struct.pgrp = type <{ %16, %13, %struct.session*, %struct.sigiolst, i32, i32, %struct.mtx }>
112 … i32, i32, %struct.itimers*, i32, i32, [20 x i8], i8, i8, i8, i8, %struct.pgrp*, %struct.sysentvec…
/external/rust/crates/libc/src/unix/
Dmod.rs889 pub fn tcsetpgrp(fd: ::c_int, pgrp: ::pid_t) -> ::c_int; in tcsetpgrp()
958 pub fn killpg(pgrp: pid_t, sig: ::c_int) -> ::c_int; in killpg()
/external/python/cpython3/Modules/clinic/
Dposixmodule.c.h4194 os_setpgid_impl(PyObject *module, pid_t pid, pid_t pgrp);
4201 pid_t pgrp; in os_setpgid() local
4204 &pid, &pgrp)) { in os_setpgid()
4207 return_value = os_setpgid_impl(module, pid, pgrp); in os_setpgid()
/external/python/cpython2/Modules/
Dposixmodule.c6548 int pgrp; in posix_setpgid() local
6549 if (!PyArg_ParseTuple(args, PARSE_PID "i:setpgid", &pid, &pgrp)) in posix_setpgid()
6551 if (setpgid(pid, pgrp) < 0) in posix_setpgid()
/external/python/cpython2/Doc/library/
Dos.rst338 .. function:: setpgid(pid, pgrp)
341 process with id *pid* to the process group with id *pgrp*. See the Unix manual
/external/python/cpython3/Modules/
Dposixmodule.c8259 os_setpgid_impl(PyObject *module, pid_t pid, pid_t pgrp) in os_setpgid_impl() argument
8262 if (setpgid(pid, pgrp) < 0) in os_setpgid_impl()
/external/rust/crates/libc/src/fuchsia/
Dmod.rs3650 pub fn tcsetpgrp(fd: ::c_int, pgrp: ::pid_t) -> ::c_int; in tcsetpgrp()
/external/python/cpython3/Doc/library/
Dos.rst497 .. function:: setpgid(pid, pgrp)
500 process with id *pid* to the process group with id *pgrp*. See the Unix manual