.TH RD() "" "" "DDI/DKI Kernel Routine"
.PC "Get a pointer to a read queue"
.B "#include <sys/stream.h>"
\fBqueue_t *RD(\fIqueue\^\fB)\fR
\fBqueue_t *\fIqueue\^\fB;\fR
.PP
.B RD()
returns the address of
the read queue associated with
.IR queue .
If
.I queue
is itself the read queue, then its address is returned.
.SH "See Also
.B
DDI/DKI kernel routines,
OTHERQ(),
WR()
.R
.SH Notes
.B RD()
has base or interrupt level.
It does not sleep.
.PP
A driver can hold a driver-defined basic lock, read/write lock, or sleep lock
across a call to this function.
