Searched refs:tc_pgid (Results 1 – 2 of 2) sorted by relevance
195 pid_t tc_pgid; in term_tag_unlink() local198 tc_pgid = tcgetpgrp(STDOUT_FILENO); in term_tag_unlink()199 if (tc_pgid == tag_files.pager_pid || in term_tag_unlink()200 tc_pgid == getpgid(0) || in term_tag_unlink()201 getpgid(tc_pgid) == -1) in term_tag_unlink()
1254 pid_t man_pgid, tc_pgid; in run_pager() local1266 tc_pgid = tcgetpgrp(STDOUT_FILENO); in run_pager()1267 if (tc_pgid != man_pgid) { in run_pager()1268 if (tc_pgid == pager_pid) { in run_pager()1273 outst->tag_files->tcpgid = tc_pgid; in run_pager()