Sends a message on a stream in the reverse direction.
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.
This utility is part of STREAMS Kernel Extensions.
Item | Description |
---|---|
q | Specifies which queue to send the message up or down. |
bp | Specifies the message to send. |