dlpi_walk man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

dlpi_walk(3DLPI)Data Link Provider Interface Library Functionsdlpi_walk(3DLPI)

NAME
       dlpi_walk - traverse DLPI links

SYNOPSIS
       cc [ flag... ] file... -ldlpi [ library... ]
       #include <libdlpi.h>

       void dlpi_walk(dlpi_walkfunc_t *fn, void *arg, uint_t flags);

       typedef boolean_t dlpi_walkfunc_t(const char *name, void *arg);

PARAMETERS
       fn	    Function to invoke for each link.  Arguments are:

		    name    The name of the DLPI interface.

		    arg	    The arg parameter passed in to dlpi_walk().

       arg	    An	opaque	argument  that	is passed transparently to the
		    user-supplied fn() function.

       flags	    This parameter is reserved	for  future  use.  The	caller
		    should pass in 0.

DESCRIPTION
       The dlpi_walk() function visits all DLPI links on the system.  For each
       link visited, the user-supplied fn() function is invoked. The walk ter‐
       minates	either	when  all links have been visited or when fn() returns
       B_TRUE.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Committed			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │MT-Level		     │Safe			   │
       └─────────────────────────────┴─────────────────────────────┘

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

SunOS 5.11			  18 Sep 2008		      dlpi_walk(3DLPI)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net