Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ qreply(D3) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       qreply(D3)                                                qreply(D3)


       NAME
             qreply - send a message in the opposite direction in a stream

       SYNOPSIS
             #include <sys/stream.h>
             #include <sys/ddi.h>
             void qreply(queue_t *q, mblk_t *bp);

          Arguments
             q         Pointer to the queue from which the message is being
                       sent.

             bp        Pointer to the message to be sent in the opposite
                       direction.

       DESCRIPTION
             qreply sends a message in the opposite direction from that
             which q is pointing.  It calls the OTHERQ(D3) function to find
             q's partner, and passes the message by calling the put(D2)
             routine of the next queue in the stream after q's partner.

          Return Values
             None

       USAGE
          Level
             Base or Interrupt.

          Synchronization Constraints
             Does not sleep.

             Driver-defined basic locks, read/write locks, and sleep locks
             may not be held across calls to this function.

             The caller cannot have the stream frozen [see freezestr(D3)]
             when calling this function.

          Examples
             See put(D2) for an example of qreply.

       REFERENCES
             OTHERQ(D3), put(D2), putnext(D3)

       NOTICES




                           Copyright 1994 Novell, Inc.               Page 1













      qreply(D3)                                                qreply(D3)


         Portability
            All processors

         Applicability
            ddi: 1, 2, 3, 4, 5, 5mp, 6, 6mp, 7, 7mp











































                          Copyright 1994 Novell, Inc.               Page 2








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