tcgetpgrp 365 maint/gnulib/lib/term-style-control.c pid_t p = tcgetpgrp (fd); tcgetpgrp 63 maint/gnulib/tests/test-login_tty.c if (!(tcgetpgrp (fd) == getpid ()))