DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
UnixWare 7

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)
29 September 2004
© 2004 The SCO Group, Inc. All rights reserved.
HDK 7.1.0b - 15 March 2000