STREAMS-UX Programmer's Guide (February 2007)
STREAMS Utilities Supported by HP-UX
Appendix B
197
NAME
putnext () – To pass a message to the next queue.
SYNOPSIS
#include <sys/stream.h>
int putnext (queue_t *q, mblk_t *mp);
PARAMETERS
q
Pointer to the queue from which this message is to be sent.
mp
Pointer to the message block to be sent.
DESCRIPTION
putnext() is used for passing messages to the next queue in a stream. This utility calls put procedure
associated with the next queue (q->q_next) in a stream and passes it a message block pointer as an
argument.
RETURN VALUES
None
CONSTRAINTS
putnext() can be called from thread or interrupt context. Spinlocks must not be held across this call.