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