*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> backq (9r)              
Title
Content
Arch
Section
 

backq(9r)

Contents


NAME    [Toc]    [Back]

       backq - STREAMS: Gets a pointer to the previous queue

SYNOPSIS    [Toc]    [Back]

       #include <sys/stream.h>

       queue_t * backq(
               queue_t *current_queue );

ARGUMENTS    [Toc]    [Back]

       Specifies  the  pointer  to the current queue. The typedef
       queue_t is an alternate name for struct queue_entry *.

DESCRIPTION    [Toc]    [Back]

       The backq interface returns a pointer to the queue preceding
  the  current  queue (the current_queue argument).  If
       the current queue is a read queue, backq returns a pointer
       to the queue downstream from the current queue, unless the
       current queue is the stream end. If the current queue is a
       write queue, backq returns a pointer to the queue upstream
       from the current queue, unless the current  queue  is  the
       stream head.

RETURN VALUES    [Toc]    [Back]

       Upon  successful completion, the backq interface returns a
       pointer to the queue preceding the current  queue.  Otherwise,
 it returns NULL.

SEE ALSO    [Toc]    [Back]

      
      
       Programmer's Guide: STREAMS



                                                        backq(9r)
[ Back ]
 Similar pages
Name OS Title
OTHERQ Tru64 STREAMS: Gets a pointer to a module's other queue
RD Tru64 STREAMS: Gets a pointer to a module's read queue
WR Tru64 STREAMS: Gets a pointer to this module's write queue
insq Tru64 STREAMS: Inserts a STREAMS message into a queue
qenable Tru64 STREAMS: Enables a queue
enableok Tru64 STREAMS: Enables a queue for service
flushq Tru64 STREAMS: Removes a message from a queue
noenable Tru64 STREAMS: Prevents a queue from being scheduled
getq Tru64 STREAMS: Gets a message from the front of the queue
putq Tru64 STREAMS: Puts a message on a queue
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service