Finds the number of messages on a queue.
int
qsize(qp)
register queue_t * qp;
The qsize utility returns the number of messages present in the queue specified by the qp parameter. If there are no messages on the queue, the qsize parameter returns a value of 0.
qp | Specifies the queue on which to count the messages. |
This utility is part of STREAMS Kernel Extensions.
List of Streams Programming References, Understanding STREAMS Messages in AIX 5L Version 5.1 Communications Programming Concepts.