Content-type: text/html Man page of putnext

putnext

Section: Kernel Functions for Drivers (9F)
Updated: 16 Jan 2006
Index Return to Main Contents
 

NAME

putnext - send a message to the next queue  

SYNOPSIS

#include <sys/stream.h>
#include <sys/ddi.h>

void putnext(queue_t *q, mblk_t *mp);  

INTERFACE LEVEL

Architecture independent level 1 (DDI/DKI).  

PARAMETERS

q Pointer to the queue from which the message mp will be sent.

mp Message to be passed.

 

DESCRIPTION

The putnext() function is used to pass a message to the put(9E) routine of the next queue in the stream.  

RETURN VALUES

None.  

CONTEXT

The putnext() function can be called from user, interrupt, or kernel context.  

EXAMPLES

See allocb(9F) for an example of using putnext().  

SEE ALSO

put(9E), allocb(9F), put(9F), qprocson(9F)

Writing Device Drivers

STREAMS Programming Guide  

NOTES

The put() and putnext() functions should be called only after qprocson() is finished.


 

Index

NAME
SYNOPSIS
INTERFACE LEVEL
PARAMETERS
DESCRIPTION
RETURN VALUES
CONTEXT
EXAMPLES
SEE ALSO
NOTES

This document was created by man2html, using the manual pages.
Time: 02:39:43 GMT, October 02, 2010