putnext(D3DK) —
.IX \f4putnext\fP(D3DK)
NAME
putnext − send a message to the next queue
SYNOPSIS
#include <sys/stream.h>
#include <sys/ddi.h>
int putnext(queue_t ∗q, mblk_t ∗mp);
ARGUMENTS
qPointer to the queue from which the message mp will be sent.
mpPointer to the message to be passed.
DESCRIPTION
The putnext function is used to pass a message to the put(D2DK) routine of the next queue (q−>q_next) in the stream.
RETURN VALUE
Ignored.
LEVEL
Base or Interrupt.
NOTES
Does not sleep.
Driver-defined basic locks, read/write locks, and sleep locks may not be held across calls to this function.
SEE ALSO
put(D2DK), putnextctl(D3DK), putnextctl1(D3DK)
EXAMPLE
See allocb(D3DK) for an example of putnext.
DDI/DKI — STREAMS