[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]
Technical Reference: Communications, Volume 2
flushband Utility
Purpose
Flushes the messages in a given priority band.
Syntax
void flushband(q, pri, flag)
register queue_t * q;
unsigned char pri;
int flag;
Description
The flushband utility provides
modules and drivers with the capability to flush the messages associated in
a given priority band. The flag parameter is defined the same as in the flushq utility. Otherwise, messages are flushed from
the band specified by the pri parameter according
to the value of the flag parameter.
This utility is part of STREAMS Kernel Extensions.
Parameters
q |
Specifies the queue to flush. |
pri |
Specifies the priority band to flush. If the value of the pri parameter is 0, only ordinary messages are flushed. |
flag |
Specifies which messages to flush from the queue. Possible values
are:
- FLUSHDATA
- Discards all M_DATA, M_PROTO, M_PCPROTO, and M_DELAY
messages, but leaves all other messages on the queue.
- FLUSHALL
- Discards all messages from the queue.
|
Related Information
The flushq utility.
List of Streams Programming
References and Understanding STREAMS Messages in AIX 5L Version 5.2 Communications Programming Concepts.
[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]