itoemajor man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



itoemajor(D3)							 itoemajor(D3)

NAME
     itoemajor - convert internal to external major device number

SYNOPSIS
     #include <sys/types.h>
     #include <sys/ddi.h>
     int itoemajor(major_t imaj, int prevemaj);

   Arguments
     imaj      Internal major number.

     prevemaj  Most recently obtained external major number (or NODEV, if this
	       is the first time the function has been called).

DESCRIPTION
     itoemajor converts the internal major number imaj to the external major
     number.  The external-to-internal major number mapping can be many-to-
     one, and so any internal major number may correspond to more than one
     external major number.

   Return Values
     External major number, or NODEV, if all have been searched.

USAGE
     By repeatedly invoking this function and passing the most recent external
     major number obtained, the driver can obtain all possible external major
     number values.

     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), getminor(D3),
     makedevice(D3)

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net