'\"macro stdmacro
.if n .pH ddi_dki.putnext @(#)putnext	40.6 of 10/10/89
.\" Copyright 1989 AT&T
.de IX
.ie '\\n(.z'' .tm .Index: \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9	\\n%
.el \\!.IX \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
..
.nr X
.if \nX=0 .ds x} putnext D3DK "STREAMS" "DDI/DKI" "\&"
.if \nX=1 .ds x} putnext D3DK "STREAMS" "DDI/DKI"
.if \nX=2 .ds x} putnext D3DK "" "\&"
.if \nX=3 .ds x} putnext "" "" "\&"
.TH \*(x}
.IX "\f4putnext\fP(D3DK)"
.SH NAME
\f4putnext\f1 \- send a message to the next queue
.SH SYNOPSIS
.nf
.na
\f4#include <sys/stream.h>
#include <sys/ddi.h>
.sp 0.5
int putnext(queue_t *\f2q, \f4mblk_t *\f2mp\f4);\f1
.ad
.fi
.SH ARGUMENTS
.RS 0n 10
.IP "\f2q\f1" 10n
Pointer to the queue from which the message \f2mp\f1 will be sent.
.IP "\f2mp\f1" 10n
Message to be passed.
.RE
.SH DESCRIPTION
The \f4putnext\f1 function is used to pass a message to the \f4put\f1(D2DK)
routine of the next queue in the stream.
.SH RETURN VALUE
None
.SH LEVEL
Base or Interrupt
.SH SEE ALSO
\f2BCI Driver Development Guide\f1, Chapter 7, ``STREAMS''
.SH EXAMPLE
See the \f4allocb\f1(D3DK) function page for an example of \f4putnext\f1.
