.TH ttclose() "" "" "Internal Kernel Routine"
.PC "Close tty"
.B "#include <sys/tty.h>"
\fBvoid ttclose(\fItp\^\fB)\fR
\fBTTY *\fItp\^\fB;\fR
.PP
.B ttclose()
is called by a terminal device driver on the last close.
It waits for pending output to be sent, then flushes input
and resets the internal state information for the given tty.
.SH "See Also"
.B
internal kernel routines
.R
