osf1 man page for backq

Query: backq

OS: osf1

Section: 9r

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

backq(9r)																 backq(9r)

NAME
backq - STREAMS: Gets a pointer to the previous queue
SYNOPSIS
#include <sys/stream.h> queue_t * backq( queue_t *current_queue );
ARGUMENTS
Specifies the pointer to the current queue. The typedef queue_t is an alternate name for struct queue_entry *.
DESCRIPTION
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 cur- rent 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
Upon successful completion, the backq interface returns a pointer to the queue preceding the current queue. Otherwise, it returns NULL.
SEE ALSO
Programmer's Guide: STREAMS backq(9r)
Related Man Pages
wr(9f) - sunos
insq(9r) - osf1
wr(9f) - redhat
wr(9f) - linux
wr(9f) - hpux
Similar Topics in the Unix Linux Community
date program in ksh
perl scalar variable in backquoted string
awk field not recognized in backquotes
variable redirect messing up a sed command.
how to print a backquote in csh