Index Index for
Section 9
Index Alphabetical
listing for Q
Index Bottom of
page

qsize(9r)

NAME

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

SYNOPSIS

#include <sys/stream.h> int qsize( queue_t *queue_pointer );

ARGUMENTS

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

DESCRIPTION

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

RETURN VALUES

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.

Index Index for
Section 9
Index Alphabetical
listing for Q
Index Top of
page