[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
AIX Version 4.3 Communications Technical Reference, 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.
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. |
|
Implementation Specifics
This utility is part of STREAMS Kernel Extensions.
Related Information
The flushq utility.
List of Streams Programming References and Understanding STREAMS Messages in AIX Version 4.3 Communications Programming Concepts.
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]