.TH "terminal-device routines" "" "" Overview
.PC
.PP
The following routines can be used by device drivers to
access teletypewriter (tty) devices:
.nf
.sp \n(pDu
.ta 1.25i
.tc . 0.1i
\fBclrq()\fR	Clear character queue
\fBcltgetq()\fR	Get a char from a character queue
\fBcltputq()\fR	Put a character onto a character queue
\fBttclose()\fR	Close tty
\fBttflush()\fR	Flush a tty
\fBtthup()\fR	tty hangup
\fBttin()\fR	Pass character to tty input queue
\fBttinp()\fR	See if tty queue has room for more input
\fBttioctl()\fR	Perform tty I/O control
\fBttopen()\fR	Open a tty
\fBttout()\fR	Get next character from tty output queue
\fBttoutp()\fR	See if tty output queue has data available
\fBttread()\fR	Read from tty
\fBttread0()\fR	Read from tty
\fBttsetgrp()\fR	Set tty process group
\fBttsignal()\fR	Send tty signal
\fBttstart()\fR	Start tty output
\fBttwrite()\fR	Write to tty
\fBttwrite0()\fR	Write to tty
.fi
.SH "See Also"
.B
device drivers,
ttread0,
ttwrite0
.R
