.TH ttout() "" "" "Internal Kernel Routine"
.PC "Get next character from tty output queue"
.B "#include <sys/tty.h>"
\fBint ttout(\fItp\^\fB)\fR
\fBTTY *\fItp\^\fB;\fR
.PP
.B ttout()
returns the next character to be output.
If the output queue is empty, it returns \-1.
It should be called with interrupts disabled.
.SH "See Also"
.B
internal kernel routines,
ttoutp()
.R
