*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> flushq (9r)              
Title
Content
Arch
Section
 

flushq(9r)

Contents


NAME    [Toc]    [Back]

       flushq - STREAMS: Removes a message from a queue

SYNOPSIS    [Toc]    [Back]

       #include <sys/stream.h>

       void flushq(
               queue_t *queue,
               int flag );

ARGUMENTS    [Toc]    [Back]

       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    [Toc]    [Back]

       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    [Toc]    [Back]

       None

SEE ALSO    [Toc]    [Back]

      
      
       Kernel Interfaces: flushband(9r), freemsg(9r), putq(9r)

       Programmer's Guide: STREAMS



                                                       flushq(9r)
[ Back ]
 Similar pages
Name OS Title
rmvq Tru64 STREAMS: Removes a message block from a queue
insq Tru64 STREAMS: Inserts a STREAMS message into a queue
unlinkb Tru64 STREAMS: Removes a message block from the head of a message
mq_unlink Tru64 Removes a message queue (P1003.1b)
adjmsg Tru64 STREAMS: Removes the specified number of bytes from a message
getq Tru64 STREAMS: Gets a message from the front of the queue
putq Tru64 STREAMS: Puts a message on a queue
ipcrm Tru64 Removes message queue, semaphore set, or shared memory identifiers
canput Tru64 STREAMS: Tests for room in a message queue
putctl Tru64 STREAMS: Puts a control message on a queue
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service