WR(9r)WR(9r)NAMEWR - STREAMS: Gets a pointer to this module's write queue
SYNOPSIS
#include <sys/stream.h>
queue_t * WR(
queue_t *queue_pointer );
ARGUMENTS
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 *.
DESCRIPTION
The WR interface accepts a read queue pointer as an argument and
returns a pointer to the write queue of the same module.
CAUTIONS
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.
RETURN VALUES
Upon successful completion, WR returns the pointer to the write queue.
SEE ALSO
Kernel Interfaces: OTHERQ(9r), RD(9r)WR(9r)