MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Device Information Library Functions       dipropnext(3DEVINFO)



NAME
     dipropnext - libdevinfo property traversal function

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

     dipropt dipropnext(dinodet node, dipropt prop);


PARAMETERS
     node    Handle to a device node.


     prop    Handle to a property.


DESCRIPTION
     The dipropnext() function returns a  handle  to  the  next
     property  on  the property list. If prop is DIPROPNIL, the
     handle to the first property is returned.

RETURN VALUES
     Upon successful completion, dipropnext() returns  a   han-
     dle.  Otherwise  DIPROPNIL is returned and errno is set to
     indicate the error.

ERORS
     The dipropnext() function will fail if:

     EINVAL     Invalid argument.


     ENOTSUP    The snapshot does not contain  property  informa-
                tion.


     ENXIO      There are no more properties.


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












SunOS 5.11           Last change: 1 Dec 1998                    1






Device Information Library Functions       dipropnext(3DEVINFO)



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Evolving                    
    
     MT-Level                     Safe                        
    


SEE ALSO
     diinit(3DEVINFO), libdevinfo(3LIB), attributes(5)


     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 ™