.TH cltgetq() "" "" "Internal Kernel Routine"
.PC "Get a char from a character queue"
.B "#include <sys/clist.h>"
\fBint cltgetq(\fIcqp\^\fB)\fR
\fBCQUEUE *\fIcqp\^\fB;\fR
.PP
.B cltgetq()
returns the next character from character queue
.IR cqp .
It returns \-1 if the queue is empty.
.SH "See Also"
.B
internal kernel routines
.R
.SH Notes
Prior to release 4.2 of \*(CO, this function was named
.BR getq() .
The name has been changed to avoid collision with a similarly
named function in the \*(ST library.
