RD(D3)
RD - get a pointer to the read queue
As shipped in IRIX 6.5.7. Unchanged since IRIX 6.5.
NAME RD - get a pointer to the read queue SYNOPSIS #include <sys/stream.h> #include <sys/ddi.h> queue_t *RD(queue_t *q); Arguments q Pointer to the queue whose read queue is to be returned. DESCRIPTION The RD function accepts a queue pointer as an argument and returns a pointer to the read queue of the same module or driver. Return Values The pointer to the read queue. USAGE Note that when RD is passed a read queue pointer as an argument, it returns a pointer to this read queue. Level Base or Interrupt. Synchronization Constraints Does not sleep. Driver-defined basic locks, read/write locks, and sleep locks may be held across calls to this function. Examples See the put(D2) function page for an example of RD. REFERENCES OTHERQ(D3), WR(D3)