RD - STREAMS: Gets a pointer to a module's read queue
#include <sys/stream.h>
queue_t * RD(
queue_t *queue_pointer );
Specifies a pointer to the write queue whose read queue is
to be returned. The typedef queue_t is an alternate name
for struct queue_entry *.
The RD interface accepts a write queue pointer as an argument
and returns a pointer to the read queue of the same
module.
Make sure the queue_pointer argument is a pointer to a
write queue. The RD interface does not check for queue
type. A system panic could occur if queue_pointer is not a
write queue.
Upon successful completion, RD returns the pointer to the
read queue.
Kernel Interfaces: WR(9r)
RD(9r)
[ Back ] |