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

  man pages->Tru64 Unix man pages -> qsize (9r)              



NAME    [Toc]    [Back]

       qsize - STREAMS: Finds the number of messages on a queue

SYNOPSIS    [Toc]    [Back]

       #include <sys/stream.h>

       int qsize(
               queue_t *queue_pointer );

ARGUMENTS    [Toc]    [Back]

       Specifies  a  pointer  to  the  queue to be evaluated. The
       typedef  queue_t  is  an   alternate   name   for   struct
       queue_entry *.

DESCRIPTION    [Toc]    [Back]

       The  qsize  interface  evaluates the queue associated with
       the queue_pointer argument and returns the number of  messages
 it contains.

RETURN VALUES    [Toc]    [Back]

       If  there  are no messages in the queue, qsize returns the
       value zero (0). Otherwise, it returns the  integer  representing
 the number of messages on the queue.

[ Back ]
 Similar pages
Name OS Title
insq Tru64 STREAMS: Inserts a STREAMS message into a queue
qenable Tru64 STREAMS: Enables a queue
putq Tru64 STREAMS: Puts a message on a queue
OTHERQ Tru64 STREAMS: Gets a pointer to a module's other queue
flushq Tru64 STREAMS: Removes a message from a queue
getq Tru64 STREAMS: Gets a message from the front of the queue
backq Tru64 STREAMS: Gets a pointer to the previous queue
enableok Tru64 STREAMS: Enables a queue for service
noenable Tru64 STREAMS: Prevents a queue from being scheduled
strace IRIX print STREAMS trace messages
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service