Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

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

Media Vault

Software Library

Restoration Projects

Artifacts Sought

strqset(D3DK)  —  

.IX \f4strqset\fP(D3DK)

NAME

strqset − change information about a queue or band of the queue

SYNOPSIS

#include <sys/types.h>
#include <sys/stream.h>
int strqset(queue_t ∗q, qfields_t what, uchar_t pri, long val);

ARGUMENTS

qPointer to the queue. 

whatThe field of the queue to change.  Valid values are:

QHIWAT High water mark of the specified priority band. 

QLOWAT Low water mark of the specified priority band. 

QMAXPSZ
Maximum packet size of the specified priority band.

QMINPSZ Minimum packet size of the specified priority band. 

priPriority band of the queue to be changed. 

valNew value for the field to be changed. 

DESCRIPTION

strqset gives drivers and modules a way to change information about a queue or a particular priority band of a queue without directly accessing STREAMS data structures. 

RETURN VALUE

On success, 0 is returned.  An error number is returned on failure. 

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

strqget(D3DK), queue(D4DK)

DDI/DKI  —  STREAMS

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