Passes a message to the next queue.
#define putnext(q, mp) ((*(q)->q_next->q_qinfo->qi_putp)((q)-q_next, (mp)))
The putnext utility calls the put procedure of the next queue in a stream and passes to the procedure a message pointer as an argument. The putnext utility is the typical means of passing messages to the next queue in a stream.
q | Specifies the calling queue. |
mp | Specifies the message that is to be passed. |
This utility is part of STREAMS Kernel Extensions.
List of Streams Programming References, Understanding STREAMS Messages in AIX Version 4.3 Communications Programming Concepts.