Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

di_path_prop_next(3devinfo) [opensolaris man page]

di_path_prop_next(3DEVINFO)			       Device Information Library Functions			       di_path_prop_next(3DEVINFO)

NAME
di_path_prop_next - libdevinfo path property traversal function SYNOPSIS
cc [ flag... ] file... -ldevinfo [ library... ] #include <libdevinfo.h> di_path_prop_t di_path_prop_next(di_path_t path, di_path_prop_t prop); PARAMETERS
path The handle to a path node in a di_init(3DEVINFO). prop The handle to a property. DESCRIPTION
The di_prop_next() function returns a handle to the next property on the property list. If prop is DI_PROP_NIL, the handle to the first property is returned. RETURN VALUES
Upon successful completion, di_path_prop_next() returns a handle to a path property object. Otherwise DI_PROP_NIL is returned, and errno is set to indicate the error. ERRORS
The di_prop_next() function will fail if: EINVAL An argument is invalid. ENOTSUP The snapshot does not contain path property information (DINFOPROP was not passed to di_init()). ENXIO There are no more properties. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
libdevinfo(3LIB), attributes(5) Writing Device Drivers SunOS 5.11 15 May 2008 di_path_prop_next(3DEVINFO)

Check Out this Related Man Page

di_prop_next(3DEVINFO)				       Device Information Library Functions				    di_prop_next(3DEVINFO)

NAME
di_prop_next - libdevinfo property traversal function SYNOPSIS
cc [ flag... ] file... -ldevinfo [ library... ] #include <libdevinfo.h> di_prop_t di_prop_next(di_node_t node, di_prop_t prop); PARAMETERS
node Handle to a device node. prop Handle to a property. DESCRIPTION
The di_prop_next() function returns a handle to the next property on the property list. If prop is DI_PROP_NIL, the handle to the first property is returned. RETURN VALUES
Upon successful completion, di_prop_next() returns a handle. Otherwise DI_PROP_NIL is returned and errno is set to indicate the error. ERRORS
The di_prop_next() function will fail if: EINVAL Invalid argument. ENOTSUP The snapshot does not contain property information. ENXIO There are no more properties. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
di_init(3DEVINFO), libdevinfo(3LIB), attributes(5) Writing Device Drivers SunOS 5.10 1 Dec 1998 di_prop_next(3DEVINFO)
Man Page