Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ RD(D3DK) — Motorola System V 88k Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

RD(D3DK)  —  

.IX \f4RD\fP(D3DK)

NAME

RD − get a pointer to the read queue

SYNOPSIS

#include <sys/stream.h>
#include <sys/ddi.h>
queue_t ∗RD(queue_t ∗q);

ARGUMENTS

qPointer to the queue whose read queue is to be returned. 

DESCRIPTION

The RD function accepts a queue pointer as an argument and returns a pointer to the read queue of the same module or driver. 

RETURN VALUE

The pointer to the read queue. 

LEVEL

Base or Interrupt. 

NOTES

Does not sleep. 

Driver-defined basic locks, read/write locks, and sleep locks may be held across calls to this function. 

SEE ALSO

OTHERQ(D3DK), WR(D3DK)

EXAMPLE

See the put(D2DK) function page for an example of RD. 

DDI/DKI  —  STREAMS

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026