qsize - STREAMS: Finds the number of messages on a queue
#include <sys/stream.h>
int qsize(
queue_t *queue_pointer );
Specifies a pointer to the queue to be evaluated. The
typedef queue_t is an alternate name for struct
queue_entry *.
The qsize interface evaluates the queue associated with
the queue_pointer argument and returns the number of messages
it contains.
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.
qsize(9r)
[ Back ] |