strqset(D3)

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

As shipped in IRIX 6.5.19. Unchanged since IRIX 6.5.

NAME
     strqset - change information about a queue or band of the queue

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

   Arguments
     q         Pointer to the queue.

     what      The field of the queue to change.

     pri       Priority band of the queue to be changed.

     val       New 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 Values
     On success, 0 is returned.  An error number is returned on failure.

USAGE
     Valid values for what 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.

   Level
     Base or Interrupt.

   Synchronization Constraints
     Does not sleep.

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

REFERENCES
     queue(D4), strqget(D3)