Home
last modified time | relevance | path

Searched refs:JOBTTY (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Djobs.c548 if(pid==pw->p_fgrp && pid==tcgetpgrp(JOBTTY)) in job_reap()
553 tcsetpgrp(JOBTTY,job.mypid); in job_reap()
605 job.fd = JOBTTY; in job_init()
617 if((job.linedisc = ioctl(JOBTTY, FIOLOOKLD, 0)) <0) in job_init()
619 if(ioctl(JOBTTY,TIOCGETD,&job.linedisc) !=0) in job_init()
645 if(job.mypgid<0 || !(ttynam=ttyname(JOBTTY))) in job_init()
647 close(JOBTTY); in job_init()
650 if(fd!=JOBTTY) in job_init()
651 sh_iorenumber(shp,fd,JOBTTY); in job_init()
654 tcsetpgrp(JOBTTY,shp->gd->pid); in job_init()
[all …]
H A Dxec.c2195 tcsetpgrp(JOBTTY,shp->gd->pid); in sh_exec()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Djobs.h28 #define JOBTTY 2 macro