MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Device Information Library Functions  dipathpropnext(3DEVINFO)



NAME
     dipathpropnext - libdevinfo path property traversal func-
     tion

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

     dipathpropt dipathpropnext(dipatht path,
          dipathpropt prop);


PARAMETERS
     path    The handle to a path node in a diinit(3DEVINFO).


     prop    The 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,  dipathpropnext()  returns  a
     handle  to  a path property object. Otherwise DIPROPNIL is
     returned, and errno is set to indicate the error.

ERORS
     The dipropnext() function will fail if:

     EINVAL     An argument is invalid.


     ENOTSUP    The  snapshot  does  not  contain  path  property
                information   (DINFOPROP   was   not   passed  to
                diinit()).


     ENXIO      There are no more properties.


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









SunOS 5.11          Last change: 15 May 2008                    1






Device Information Library Functions  dipathpropnext(3DEVINFO)



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Committed                   
    
     MT-Level                     Safe                        
    


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


     Writing Device Drivers









































SunOS 5.11          Last change: 15 May 2008                    2



OpenSolaris man pages main menu

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