Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

allocb(9F)

put(9E)

putnext(9F)

NAME

putnext − send a message to the next queue

SYNOPSIS

#include <sys/stream.h>
#include <sys/ddi.h>
int putnext(queue_t ∗q, mblk_t ∗mp);

INTERFACE LEVEL

Architecture independent level 1 (DDI/DKI). 

ARGUMENTS

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

mp Message to be passed. 

DESCRIPTION

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

RETURN VALUES

None. 

CONTEXT

putnext() can be called from user or interrupt context. 

EXAMPLE

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

SEE ALSO

allocb(9F), put(9E)

Writing Device Drivers
STREAMS Programming Guide

SunOS 5.5/x86  —  Last change: 11 Apr 1991

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026