Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     PADDR(K)                  UNIX System V                  PADDR(K)



     Name
          paddr - returns virtual address pointer to block data

     Syntax
          #include "sys/buf.h"

          paddr_t
          paddr(bp)

     Description
          This macro returns a virtual address pointer to the data
          contained in a block driver buffer header.  paddr provides a
          pointer to the b_un.b_addr member of the buf structure.  Use
          this macro to ensure portability between releases of System
          V.

     Note
          This macro returns a virtual address, not a physical
          address.  This may be misleading since the name of the macro
          implies a physical address.

     Parameters
               bp             Pointer to a buffer header

     Return Value
          A virtual address pointing to the b_un.b_addr field of the
          buf structure.

                                                      (printed 7/6/89)



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