MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Device Information Library Functions      diminordevt(3DEVINFO)



NAME
     diminordevt,       diminorname,       diminornodetype,
     diminorspectype - return libdevinfo minor node information

SYNOPSIS
     cc [ flag... ] file... -ldevinfo [ library... ]
     #include 

     devt diminordevt(diminort minor);


     char *diminorname(diminort minor);


     char *diminornodetype(diminort minor);


     int diminorspectype(diminort minor);


PARAMETERS
     minor    A handle to minor data node.


DESCRIPTION
      These functions return libdevinfo minor node information.

RETURN VALUES
     The diminorname() function returns  the  minor  name.  See
     ddicreateminornode(9F)  for  a  description  of  the name
     parameter.


     The diminordevt() function returns the devt value of  the
     minor node that is specified by SYS V ABI. See getmajor(9F),
     getminor(9F), and ddicreateminornode(9F) for more  infor-
     mation.


     The diminorspectype() function returns  the  spectype  of
     the     file,     either    SIFCHR    or    SIFBLK.    See
     ddicreateminornode(9F) for a description of the spectype
     parameter.


     The diminornodetype()function returns the minor  nodetype
     of  the  minor  node.  See  ddicreateminornode(9F)  for a
     description of the nodetype parameter.

ERORS
     No errors are defined.




SunOS 5.11           Last change: 1 Dec 1998                    1






Device Information Library Functions      diminordevt(3DEVINFO)



ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Evolving                    
    
     MT-Level                     Safe                        
    


SEE ALSO
     attributes(5),   ddicreateminornode(9F),    getmajor(9F),
     getminor(9F)


     Writing Device Drivers


































SunOS 5.11           Last change: 1 Dec 1998                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™