.TH strqset() "" "" "DDI/DKI Kernel Routine"
.PC "Modify a priority band"
.B "#include <sys/types.h>"
.B "#include <sys/stream.h>"
\fBint strqset(\fIqueue\^\fB, \fIwhat\^\fB, \fIpriority\^\fB, \fIdatum\^\fB)\fR
\fBqueue_t *\fIqueue\^\fB; qfields_t \fIdatum\^\fB;\fR
\fBuchar_t \fIpriority\^\fB; long \fIvalue\^\fB;\fR
.PP
.B strqset()
sets to
.I value
the parameter
.I datum
within priority band
.I priority
of
.IR queue .
If all goes well, it returns zero; otherwise, it returns a non-zero
error code.
.PP
.I datum
identifies parameter of
.IR priority
that you wish to modify, as follows:
.IP \fBQHIWAT\fR 1.0i
Its high-water mark.
.IS \fBQLOWAT\fR
Its low-water mark.
.IS \fBQMAXPSZ\fR
Its maximum packet size.
.IS \fBQMINPSZ\fR
Its minimum packet size.
.SH "See Also"
.B
DDI/DKI kernel routines,
queue,
strqget()
.R
.SH Notes
.B strqset()
has base or interrupt level.
It does not sleep.
.PP
A driver can hold a
driver-defined basic lock, read/write lock, or sleep lock
across a call to this function.
.PP
The caller must have the stream frozen when calling this function.
