.TH WR() "" "" "DDI/DKI Kernel Routine"
.PC "Get a pointer to the write queue"
.B "#include <sys/stream.h>"
\fBqueue_t *WR(\fIqueue\^\fB)\fR
\fBqueue_t *\fIqueue\^\fB;\fR
.PP
.B WR()
returns a pointer to the write queue of
.IR queue .
.SH "See Also"
.B
DDI/DKI kernel routines,
OTHERQ(),
queue,
RD()
.R
.SH Notes
.B WR()
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.
