WR Utility

Purpose

Retrieves a pointer to the write queue.

Syntax

#define WR( q) ((q)+1)

Description

The WR utility accepts a read queue pointer, the q parameter, as an argument and returns a pointer to the write queue for the same module.

This utility is part of STREAMS Kernel Extensions.

Parameters

Item Description
q Specifies the read queue.