.TH ttoutp() "" "" "Internal Kernel Routine"
.PC "See if tty input queue has data available"
.B "#include <sys/tty.h>"
\fBint ttoutp(\fItp\^\fB)\fR
\fBTTY *\fItp\^\fB;\fR
.PP
.B ttoutp()
returns a nonzero value if the tty input queue has output data available,
and returns zero if the queue is empty.
A driver calls
.B ttoutp()
before it calls
.B ttout()
to see if it is safe to do so.
.SH "See Also"
.B
internal kernel routines,
ttout(),
ttinp()
.R
