Searched defs:pgrp (Results 1 - 25 of 35) sorted by relevance

12

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dkillpg.c44 killpg(pid_t pgrp, int sig) argument
49 if (pgrp < 0) {
53 return (kill(-pgrp, sig));
H A Dtcgetpgrp.c42 pid_t pgrp; local
44 if (tcgetsid(fd) < 0 || ioctl(fd, TIOCGPGRP, &pgrp) < 0)
46 return (pgrp);
H A Dtcsetpgrp.c40 tcsetpgrp(int fd, pid_t pgrp) argument
44 return (ioctl(fd, TIOCSPGRP, &pgrp));
/illumos-gate/usr/src/ucblib/libucb/port/sys/
H A Dkillpg.c49 killpg(int pgrp, int sig) argument
54 if (pgrp < 0) {
58 return (kill(-pgrp, sig));
/illumos-gate/usr/src/cmd/csh/
H A Dsh.sem.c218 int pgrp; local
226 pgrp = pcurrjob ? pcurrjob->p_jobid : getpid();
248 (void) setpgid(0, pgrp);
255 (tchar *)&pgrp);
H A Dsh.proc.c1172 * -1: leave tty alone; inherit pgrp from parent
1185 int pgrp, omask; local
1222 pgrp = pcurrjob ? pcurrjob->p_jobid : child_pid;
1250 (void) setpgid(0, pgrp);
1255 (void) ioctl(FSHTTY, TIOCSPGRP, (char *)&pgrp);
1271 setpgid(pid, pgrp);
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_scf.h72 scf_propertygroup_t *pgrp; /* property group handle */ member in struct:asi_scfhandle
78 scf_iter_t *pgrp; /* property group iter handle */ member in struct:asi_scfhandle_iter
/illumos-gate/usr/src/cmd/wall/
H A Dwall.c73 static struct group *pgrp; variable in typeref:struct:group
121 if ((pgrp = getgrnam(grpname = optarg)) == NULL) {
471 for (i = 0; pgrp->gr_mem[i] && pgrp->gr_mem[i][0]; i++) {
472 if (strcmp(user, pgrp->gr_mem[i]) == 0)
/illumos-gate/usr/src/cmd/rexd/
H A Dunix_login.c303 int pgrp; local
560 pid_t pgrp; local
562 pgrp = getpgid(child);
563 if (pgrp != (pid_t)-1)
564 (void) kill((-pgrp), sig);
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dproc.h92 pid_t pgrp; /* process group id */ member in struct:__anon2596
/illumos-gate/usr/src/lib/libast/common/include/
H A Dproc.h83 pid_t pgrp; /* process group id */ member in struct:__anon2632
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dproc.h92 pid_t pgrp; /* process group id */ member in struct:__anon2696
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dproc.h92 pid_t pgrp; /* process group id */ member in struct:__anon2718
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dproc.h92 pid_t pgrp; /* process group id */ member in struct:__anon2740
/illumos-gate/usr/src/cmd/users/
H A Dusers.c645 struct reqgrp *pgrp; /* Current item in the req'd group list */ local
722 pgrp = (struct reqgrp *)
724 pgrp->groupname = token;
725 pgrp->found = FALSE;
726 pgrp->next = NULL;
728 reqgrphead = pgrp;
729 qgrp = pgrp;
745 pgrp = (struct reqgrp *)
747 pgrp->groupname = token;
748 pgrp
[all...]
/illumos-gate/usr/src/cmd/ptools/ptree/
H A Dptree.c60 pid_t pgrp; member in struct:ps
234 p->pgrp = info.pr_pgid;
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_temp.c110 pid_t pgrp; local
118 if (ioctl(2, TIOCGPGRP, &pgrp) == 0) {
119 if (pgrp == getpgid(0)) {
/illumos-gate/usr/src/cmd/w/
H A Dw.c113 *p_pgrpl, /* pgrp link */
162 struct uproc *up, *parent, *pgrp; local
447 * link pgrp together in case parents go away
449 * from the pgrp leader to its group member.
451 if (info.pr_pgid != info.pr_pid) { /* not pgrp leader */
452 pgrp = findhash(info.pr_pgid);
453 up->p_pgrpl = pgrp->p_pgrpl;
454 pgrp->p_pgrpl = up;
/illumos-gate/usr/src/cmd/mdb/common/modules/libtopo/
H A Dlibtopo.c47 static char *pgrp; variable
435 if ((strncmp(pgrp, buf, sizeof (buf)) == 0) ||
436 (strncmp(pgrp, "all", sizeof (buf)) == 0)) {
486 if (pgrp)
530 pgrp = opt_P;
/illumos-gate/usr/src/cmd/bnu/
H A Dconn.c103 int pgrp = getpgrp(); local
105 int pgrp = getpgrp(0); local
107 ioctl(fn, TIOCSPGRP, &pgrp);
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_internal.c674 internal_attach_pgroup(entity_t *ent, pgroup_t *pgrp) argument
676 if (uu_list_find(ent->sc_pgroups, pgrp, NULL, NULL) != NULL) {
678 "entity %s.\n"), pgrp->sc_pgroup_name, ent->sc_name);
682 (void) uu_list_append(ent->sc_pgroups, pgrp);
684 pgrp->sc_parent = ent;
690 internal_detach_pgroup(entity_t *ent, pgroup_t *pgrp) argument
692 uu_list_remove(ent->sc_pgroups, pgrp);
714 * -1 - prop already exists in pgrp
717 internal_attach_property(pgroup_t *pgrp, property_t *prop) argument
721 if (uu_list_find(pgrp
734 internal_detach_property(pgroup_t *pgrp, property_t *prop) argument
[all...]
/illumos-gate/usr/src/uts/common/contract/
H A Dprocess.c514 pid_t pgrp = -1; local
519 pgrp = ex->p_pgrp;
526 (pgrp != -1 && (p->p_stat == SIDL || p->p_pgrp != pgrp)) ||
533 if (pgrp != -1)
/illumos-gate/usr/src/lib/libast/common/comp/
H A Domitted.c364 int pgrp; local
389 pgrp = 1;
392 pgrp = 0;
528 if (pid > 0 && pgrp)
536 if (pgrp)
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_prop.c1409 topo_prop_getpgrp(tnode_t *node, const char *pgname, nvlist_t **pgrp, argument
1459 *pgrp = nvl;
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Djobs.c158 int tcsetpgrp(int fd,pid_t pgrp) argument
160 int pgid = pgrp;
609 * restore tty driver and pgrp

Completed in 100 milliseconds

12