man pages section 9: DDI and DKI Kernel Functions
  Rechercher uniquement dans ce livre
Télécharger cet ouvrage au format PDF (3618 Ko)

putnext(9F)

Name | Synopsis | Interface Level | Parameters | Description | Return Values | Context | Examples | See Also | Notes

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

Notes

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

SunOS 5.11  Last Revised 16 Jan 2006

Name | Synopsis | Interface Level | Parameters | Description | Return Values | Context | Examples | See Also | Notes