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