'\"macro stdmacro
.if n .pH ddi_dki.qsize @(#)qsize	40.6 of 10/10/89
.\" Copyright 1989 AT&T
.de IX
.ie '\\n(.z'' .tm .Index: \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9	\\n%
.el \\!.IX \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
..
.nr X
.if \nX=0 .ds x} qsize D3DK "STREAMS" "DDI/DKI" "\&"
.if \nX=1 .ds x} qsize D3DK "STREAMS" "DDI/DKI"
.if \nX=2 .ds x} qsize D3DK "" "\&"
.if \nX=3 .ds x} qsize "" "" "\&"
.TH \*(x}
.IX "\f4qsize\fP(D3DK)"
.SH NAME
\f4qsize\f1 \- find the number of messages on a queue
.SH SYNOPSIS
.nf
.na
\f4#include <sys/stream.h>
.sp 0.5
int qsize(queue_t *\f2q\f4);\f1
.ad
.fi
.SH ARGUMENT
.RS 0n 10
.IP "\f2q\f1" 10n
Queue to be evaluated.
.RE
.SH DESCRIPTION
\f4qsize\f1 evaluates the queue \f2q\f1 and returns the number of
messages it contains.
.SH RETURN VALUE
If there are no message on the queue, \f4qsize\f1 returns \f40\f1.
Otherwise, it returns the integer representing the number of messages on
the queue.
.SH LEVEL
Base or Interrupt
.SH SEE ALSO
\f2BCI Driver Development Guide\f1, Chapter 7, ``STREAMS''
.ad
.if n .pH ddi_dki.rd @(#)rd	40.2 of 8/22/89
