[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Communications Technical Reference, Volume 2

backq Utility

Purpose

Returns a pointer to the queue behind a given queue.

Syntax

queue_t *
backq(q)
register queue_t *q;

Description

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.

Parameters

q Specifies the queue from which to begin.

Return Values

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.

Implementation Specifics

This utility is part of STREAMS Kernel Extensions.

Related Information

The RD utility, WR utility.

List of Streams Programming References and Understanding STREAMS Messages in AIX Version 4.3 Communications Programming Concepts.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]