osf1 man page for flushq

Query: flushq

OS: osf1

Section: 9r

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

flushq(9r)																flushq(9r)

NAME
flushq - STREAMS: Removes a message from a queue
SYNOPSIS
#include <sys/stream.h> void flushq( queue_t *queue, int flag );
ARGUMENTS
Specifies a pointer to the queue to be flushed. The typedef queue_t is an alternate name for struct queue_entry *. Specifies one of the following flag flush values: Flush only data messages. These data messages are represented by the M_DATA, M_DELAY, M_PROTO, and M_PCPROTO constants. 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 flushq(9r)
Related Man Pages
flushq(9f) - opensolaris
flushq(9f) - php
flushq(9f) - redhat
flushq(9f) - v7
flushq(9f) - posix
Similar Topics in the Unix Linux Community
Low Impact PHP Errors and Logging Levels
PHP Write Man Pages to MySQL DB