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

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