Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       msgdsize(D3)                                            msgdsize(D3)


       NAME
             msgdsize - return number of bytes of data in a message

       SYNOPSIS
             #include <sys/stream.h>
             #include <sys/ddi.h>
             int msgdsize(mblk_t *mp);

          Arguments
             mp        Pointer to the message to be evaluated.

       DESCRIPTION
             msgdsize counts the number of bytes of data in the message
             pointed to by mp.  Only bytes included in message blocks of
             type M_DATA are included in the count.

          Return Values
             The number of bytes of data in the message.

       USAGE
          Level
             Base or Interrupt.

          Synchronization Constraints
             Does not sleep.

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

          Examples
             See insq(D3) for an example of msgdsize.

       REFERENCES
             msgb(D4)

       NOTICES
          Portability
             All processors

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







                           Copyright 1994 Novell, Inc.               Page 1








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