.TH putnext() "" "" "DDI/DKI Kernel Routine"
.PC "Send a message to the next queue"
.B "#include <sys/stream.h>"
\fBint putnext(\fIqueue\^\fB, \fImessage\^\fB)\fR
\fBqueue_t *\fIqueue\^\fB; mblk_t *\fImessage\^\fB;\fR
.PP
.B putnext()
invokes the driver's
.B put
routine to put
.I message
onto
.IR queue 's
next queue (i.e., to \fIqueue\fB->q_next\^\fR).
It does not return a meaningful value.
.SH "See Also"
.B
DDI/DKI kernel routines,
msgb,
putnextctl(),
putnextctl1(),
queue
.R
.SH Notes
.B putnext()
has base or interrupt level.
It does not sleep.
.PP
The caller cannot have the stream frozen when it calls this function.
.PP
A driver can hold a
driver-defined basic lock, read/write lock, or sleep lock
across a call to this function.
