putnext(9F)
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);
INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI).
ARGUMENTS
q Pointer to the queue from which the message mp will be sent.
mp Message to be passed.
DESCRIPTION
putnext() is used to pass a message to the put(9E) routine of the next queue in the stream.
RETURN VALUES
None.
CONTEXT
putnext() can be called from user or interrupt context.
EXAMPLE
See allocb(9F) for an example of using putnext().
SEE ALSO
Writing Device Drivers
STREAMS Programming Guide
SunOS 5.5/SPARC — Last change: 11 Apr 1991