Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

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

Media Vault

Software Library

Restoration Projects

Artifacts Sought

qreply(D3DK)  —  

.IX \f4qreply\fP(D3DK)

NAME

qreply − send a message in the opposite direction in a stream

SYNOPSIS

#include <sys/stream.h>
void qreply(queue_t ∗q, mblk_t ∗bp);

ARGUMENTS

qPointer to the queue from which the message is being sent. 

bpPointer to the message to be sent in the opposite direction. 

DESCRIPTION

qreply sends a message in the opposite direction from that which q is pointing.  It calls the OTHERQ(D3DK) function to find q’s partner, and passes the message by calling the put(D2DK) routine of the next queue in the stream after q’s partner. 

RETURN VALUE

None. 

LEVEL

Base or Interrupt. 

NOTES

Does not sleep. 

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

SEE ALSO

put(D2DK), OTHERQ(D3DK), putnext(D3DK)

EXAMPLE

See put(D2DK) for an example of qreply. 

DDI/DKI  —  STREAMS

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