qreply(D3)
qreply - send a message in the opposite direction in a stream
As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.
NAME qreply - 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. DESCRIPTION qreply 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. REFERENCES OTHERQ(D3), put(D2), putnext(D3)