ttyfd 45 usr/test/signal/signal.c int ttyfd; ttyfd 50 usr/test/signal/signal.c if ((ttyfd = open("/dev/tty", O_RDWR)) == -1) { ttyfd 56 usr/test/signal/signal.c tcsetpgrp(ttyfd, pgrp);