BACKQ man page on SmartOS

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

BACKQ(9F)							     BACKQ(9F)

NAME
       backq - get pointer to the queue behind the current queue

SYNOPSIS
       #include <sys/stream.h>

       queue_t *backq(queue_t *cq);

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

PARAMETERS
       cq
	     The  pointer  to the current queue.   queue_t is an alias for the
	     queue(9S) structure.

DESCRIPTION
       The backq() function returns a pointer to the queue preceding  cq  (the
       current queue). If cq is a read queue, backq() returns a pointer to the
       queue downstream from cq, unless it is the stream end. If cq is a write
       queue,  backq()	returns	 a pointer to the next queue upstream from cq,
       unless it is the stream head.

RETURN VALUES
       If successful, backq() returns a pointer to  the	 queue	preceding  the
       current queue. Otherwise, it returns NULL.

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

SEE ALSO
       queue(9S)

       Writing Device Drivers

       STREAMS Programming Guide

				 Jan 16, 2006			     BACKQ(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