 |
Index for Section 9r |
|
 |
Alphabetical listing for F |
|
 |
Bottom of page |
|
flushq(9r)
NAME
flushq - STREAMS: Removes a message from a queue
SYNOPSIS
#include <sys/stream.h>
void flushq(
queue_t *queue,
int flag );
ARGUMENTS
queue
Specifies a pointer to the queue to be flushed. The typedef queue_t is
an alternate name for struct queue_entry *.
flag
Specifies one of the following flag flush values:
FLUSHDATA
Flush only data messages. These data messages are represented
by the M_DATA, M_DELAY, M_PROTO, and M_PCPROTO constants.
FLUSHALL
Flush all messages. Requests a realtime delay
DESCRIPTION
The flushq interface frees messages and their associated data structures by
calling the freemsg interface. If the queue's count falls below the low-
water mark and the QWANTW bit is set, flushq enables the nearest upstream
service procedure.
RETURN VALUES
None
SEE ALSO
Kernel Interfaces: flushband(9r), freemsg(9r), putq(9r)
Programmer's Guide: STREAMS
 |
Index for Section 9r |
|
 |
Alphabetical listing for F |
|
 |
Top of page |
|