Query: backq
OS: opensolaris
Section: 9f
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
backq(9F) Kernel Functions for Drivers backq(9F)NAMEbackq - get pointer to the queue behind the current queueSYNOPSIS#include <sys/stream.h> queue_t *backq(queue_t *cq);INTERFACE LEVELArchitecture independent level 1 (DDI/DKI).PARAMETERScq The pointer to the current queue. queue_t is an alias for the queue(9S) structure.DESCRIPTIONThe 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 VALUESIf successful, backq() returns a pointer to the queue preceding the current queue. Otherwise, it returns NULL.CONTEXTThe backq() function can be called from user, interrupt, or kernel context.SEE ALSOqueue(9S) Writing Device Drivers STREAMS Programming Guide SunOS 5.11 16 Jan 2006 backq(9F)
Related Man Pages |
---|
wr(9f) - sunos |
wr(9f) - debian |
wr(9f) - linux |
wr(9f) - php |
rd(9f) - freebsd |
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. |
Remove backquotes from file |