qreply(D3)qreply(D3)NAMEqreply - send a message in the opposite direction in a stream
SYNOPSIS
#include <sys/stream.h>
#include <sys/ddi.h>
void qreply(queue_t *q, mblk_t *bp);
Arguments
q Pointer to the queue from which the message is being sent.
bp Pointer to the message to be sent in the opposite direction.
DESCRIPTIONqreply sends a message in the opposite direction from that which q is
pointing. It calls the OTHERQ(D3) function to find q's partner, and
passes the message by calling the put(D2) routine of the next queue in
the stream after q's partner.
Return Values
None
USAGE
Level
Base or Interrupt.
Synchronization Constraints
Does not sleep.
Driver-defined basic locks, read/write locks, and sleep locks may not be
held across calls to this function.
Examples
See put(D2) for an example of qreply.
REFERENCESOTHERQ(D3), put(D2), putnext(D3)
Page 1