Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getminor(D3) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       getminor(D3)                                            getminor(D3)


       NAME
             getminor - get internal minor device number

       SYNOPSIS
             #include <sys/types.h>
             #include <sys/ddi.h>
             minor_t getminor(dev_t dev);

          Arguments
             dev       Internal device number.

       DESCRIPTION
             The getminor function extracts the internal minor number from
             a device number.

          Return Values
             The internal minor number.

       USAGE
             No validity checking is performed.  If dev is invalid, an
             invalid number is returned.

             See getemajor(D3) for an explanation of external and internal
             major numbers.

          Level
             Initialization, 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.

       REFERENCES
             etoimajor(D3), getemajor(D3), geteminor(D3), getmajor(D3),
             makedevice(D3)

       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