RD Utility

Purpose

Gets the pointer to the read queue.

Syntax

#define RD( q) ((q)-1)

Description

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

This utility is part of STREAMS Kernel Extensions.

Parameters

Item Description
q Specifies the write queue.