putnext(D3)putnext(D3)NAMEputnext - 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
q Pointer to the queue from which the message mp will be sent.
mp Pointer to the message to be passed.
DESCRIPTION
The putnext function is used to pass a message to the put(D2) routine of
the next queue (q->q_next) in the stream.
Return Values
Ignored
USAGE
Level
Base or Interrupt.
Synchronization Constraints
Does not sleep.
Driver-defined basic locks, read/write locks, and sleep locks may not be
held across calls to this function.
Examples
See allocb(D3) for an example of putnext.
REFERENCESput(D2)
Page 1