Index Index for
Section 9r
Index Alphabetical
listing for W
Bottom of page Bottom of
page

WR(9r)

NAME

WR - STREAMS: Gets a pointer to this module's write queue

SYNOPSIS

#include <sys/stream.h> queue_t * WR( queue_t *queue_pointer );

ARGUMENTS

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 *.

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)

Index Index for
Section 9r
Index Alphabetical
listing for W
Top of page Top of
page