DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5

etoimajor(D3)


etoimajor -- convert external to internal major device number

Synopsis (Not in current DDI version)

   #include <sys/types.h>
   #include <sys/ddi.h>

int etoimajor(major_t emaj);

Arguments


emaj
External major number.

Description

etoimajor converts the external major number emaj to an internal major number.

Return values

etoimajor returns the internal major number or NODEV if the external major number is invalid.

Usage

See getemajor(D3) for a description of external and internal major numbers.

Context and synchronization

All contexts.

Hardware applicability

All

Version applicability

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

Differences between versions

etoimajor( ) is not supported in DDI 8. See ``Device number'' in HDK Technical Reference.

References

getemajor(D3), geteminor(D3), getmajor(D3), getminor(D3), itoemajor(D3), makedevice(D3)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005