[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Technical Reference: Communications, 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 5L Version 5.1 Communications Programming Concepts.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]