qsize man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

QSIZE(9F)							     QSIZE(9F)

NAME
       qsize - find the number of messages on a queue

SYNOPSIS
       #include <sys/stream.h>

       int qsize(queue_t *q);

INTERFACE LEVEL
       Architecture independent level 1 (DDI/DKI).

PARAMETERS
       q
	    Queue to be evaluated.

DESCRIPTION
       The  qsize()  function  evaluates the queue q and returns the number of
       messages it contains.

RETURN VALUES
       If there are no message on the queue, qsize() returns 0. Otherwise,  it
       returns the integer representing the number of messages on the queue.

CONTEXT
       The qsize() function can be called from user, interrupt, or kernel con‐
       text.

SEE ALSO
       Writing Device Drivers

       STREAMS Programming Guide

				 Jan 16, 2006			     QSIZE(9F)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net