DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SCO OpenServer 5

backq(D3str)


backq -- get pointer to the queue behind a given queue

Synopsis (Not in DDI)

#include <sys/stream.h>

queue_t *backq(queue_t *q);

Description

The backq routine returns a pointer to the queue behind a given queue: that is, it returns a pointer to the queue whose q_next (see queue_t structure) pointer is q. If no such queue exists (as when q is at a Stream end), backq returns NULL.

Arguments


q
Pointer to the current queue(D4str).

Return values

If successful, a pointer to the queue behind is returned. If no such queue exists, NULL is returned.

Usage

Context and synchronization

context

Hardware applicability

All

Version applicability

oddi: 1, 2, 2mp, 3, 3mp, 4, 4mp, 5, 5mp, 6, 6mp

References

OTHERQ(D3str), RD(D3str), WR(D3str)

``ODDI driver interface version for SCO OpenServer 5'' in HDK Technical Reference


19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005