.TH qreply() "" "" "DDI/DKI Kernel Routine"
.PC "Reply to a message"
.B "#include <sys/stream.h>"
\fBvoid qreply(\fIqueue\^\fB, \fImessage\^\fB)\fR
\fBqueue_t *\fIqueue\^\fB; mblk_t *\fImessage\^\fB;\fR
.PP
.B qreply()
replies to a message.
It does so by calling
.B OTHERQ()
to find
.IR queue 's
partner, then calls its
.B put
routine to place
.I message
upon it.
.SH "See Also"
.B
DDI/DKI kernel routines,
put,
OTHERQ(),
putnext()
.R
.SH Notes
.B qreply()
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.
.PP
The caller cannot have the stream frozen when it calls this function.
