[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Communications Technical Reference, Volume 2

qsize Utility

Purpose

Finds the number of messages on a queue.

Syntax

int
qsize(qp)
register queue_t *qp;

Description

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.

Parameters

qp Specifies the queue on which to count the messages.

Implementation Specifics

This utility is part of STREAMS Kernel Extensions.

Related Information

List of Streams Programming References, Understanding STREAMS Messages in AIX Version 4.3 Communications Programming Concepts.


[ Previous | Next | Contents | Glossary | Home | Search ]