Lines Matching full:tty
2 /* $OpenBSD: tty.c,v 1.9 2006/03/14 22:08:01 deraadt Exp $ */
281 /* initialise tty size before importing environment */
789 * a tty, but to have stopped jobs, one only
1101 * saving/resetting tty modes upon forground job completion, and
1102 * for setting up the tty process group. Return values:
1103 * 0 = got controlling tty
1104 * 1 = got terminal but no controlling tty
1118 /* already got a tty which is /dev/tty */
1125 /* fd 3 on UWIN _is_ /dev/tty (or our controlling tty) */
1130 if ((fd = open("/dev/tty", O_RDWR, 0)) >= 0) {