flushq man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



flushq(D3)							    flushq(D3)

NAME
     flushq - flush messages on a queue

SYNOPSIS
     #include <sys/stream.h>
     #include <sys/ddi.h>
     void flushq(queue_t *q, int flag);

   Arguments
     q	  Pointer to the queue to be flushed.

     flag Determines messages to flush.

DESCRIPTION
     flushq frees messages on a queue by calling freemsg(D3) for each message.
     If the queue's count falls below the low water mark and someone wants to
     write to the queue, the nearest upstream or downstream service procedure
     is enabled.

   Return Values
     None

USAGE
     Valid values for flag are:

	  FLUSHDATA	 Flush only data messages (types M_DATA, M_DELAY,
			 M_PROTO, and M_PCPROTO).

	  FLUSHALL	 Flush all messages.

   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.

   Examples
     See put(D2) for an example of flushq.

REFERENCES
     flushband(D3), freemsg(D3), put(D2), putq(D3), queue(D4)

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net