trq_size()
#
trq_size()
returns the number of messages currently stored in the specified queue.
Prototype
size_t trq_size(
tr_queue trq
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The queue whose size is to be determined. |
Return Value
The number of messages in the queue.
Notes
This function provides a quick way to check the number of messages stored in a queue.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples