Sends a message on a stream in the reverse direction.
void qreply (q, bp)
register queue_t * q;
register mblk_t * bp;
The qreply utility sends the message pointed to by the bp parameter either up or down the stream-in the reverse direction from the queue pointed to by the q parameter. The utility does this by locating the partner of the queue specified by the q parameter (see the OTHERQ utility), and then calling the put procedure of that queue's neighbor (as in the putnext utility). The qreply utility is typically used to send back a response (M_IOCACK or M_IOCNAK message) to an M_IOCTL message.
|q||Specifies which queue to send the message up or down.|
|bp||Specifies the message to send.|
This utility is part of STREAMS Kernel Extensions.
The OTHERQ utility, putnext utility.
List of Streams Programming References and Understanding STREAMS Messages in AIX 5L Version 5.1 Communications Programming Concepts.