[ Bottom of Page | Previous Page | Next Page | 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.

This utility is part of STREAMS Kernel Extensions.

Parameters

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

Related Information

List of Streams Programming References, Understanding STREAMS Messages in AIX 5L Version 5.2 Communications Programming Concepts.

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