Searched refs:JOBTTY (Results 1 – 3 of 3) sorted by relevance
548 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 …]
2195 tcsetpgrp(JOBTTY,shp->gd->pid); in sh_exec()
28 #define JOBTTY 2 macro