Returns a pointer to the queue behind a given queue.
queue_t *
backq(q)
register queue_t * q;
The backq utility returns a pointer to the queue preceding a given queue. If no such queue exists (as when the q parameter points to a stream end), the backq utility returns a null pointer.
This utility is part of STREAMS Kernel Extensions.
Item | Description |
---|---|
q | Specifies the queue from which to begin. |
The backq utility returns a pointer to the queue behind a given queue. If no such queue exists, the backq utility returns a null pointer.