qsize(9r)qsize(9r)NAMEqsize - STREAMS: Finds the number of messages on a queue
SYNOPSIS
#include <sys/stream.h>
int qsize(
queue_t *queue_pointer );
ARGUMENTS
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 mes‐
sages on the queue.
qsize(9r)