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

putnext Utility

Purpose

Passes a message to the next queue.

Syntax

#define putnext(q, mp) ((*(q)->q_next->q_qinfo->qi_putp)((q)-q_next, (mp)))

Description

The putnext utility calls the put procedure of the next queue in a stream and passes to the procedure a message pointer as an argument. The putnext utility is the typical means of passing messages to the next queue in a stream.

Parameters

q Specifies the calling queue.
mp Specifies the message that is to be passed.

Implementation Specifics

This utility is part of STREAMS Kernel Extensions.

Related Information

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


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