putnext(D3)

putnext - send a message to the next queue

As shipped in IRIX 6.5.22. Unchanged since IRIX 6.5.

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
     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.

REFERENCES
     put(D2)