Searched refs:tcgetpgrp (Results 1 - 5 of 5) sorted by relevance

/ast/src/lib/libcmd/
H A Dpids.c74 if ((tid = tcgetpgrp(fd)) >= 0)
H A Dstty.c892 # define tcgetpgrp(a) (ioctl(a, TIOCGPGRP, &_i_)>=0?_i_:-1) macro
894 # define tcgetpgrp(a) (-1) macro
958 sfprintf(sfstdout, "%d\n", tcgetpgrp(0));
/ast/src/cmd/ksh93/include/
H A Dterminal.h59 # undef tcgetpgrp macro
/ast/src/cmd/mailx/
H A Dtty.c108 # undef tcgetpgrp macro
/ast/src/cmd/ksh93/sh/
H A Djobs.c172 # define tcgetpgrp(a) (ioctl(a, TIOCGPGRP, &_i_)>=0?_i_:-1) macro
547 if(pid==pw->p_fgrp && pid==tcgetpgrp(JOBTTY))
662 while((job.mytgid=tcgetpgrp(JOBTTY)) != job.mypgid)
834 if((pw->p_flag&P_STOPPED) || tcgetpgrp(job.fd) == shp->gd->pid)
847 job_fgrp(pw,tcgetpgrp(job.fd));
1655 if(pw->p_pid == tcgetpgrp(JOBTTY))

Completed in 18 milliseconds