DLPI_WALK(3DLPI) | Data Link Provider Interface Library Functions | DLPI_WALK(3DLPI) |
dlpi_walk - traverse DLPI links
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);
fn
name
arg
arg
flags
The dlpi_walk() function visits all DLPI links on the system. For each link visited, the user-supplied fn() function is invoked. The walk terminates either when all links have been visited or when fn() returns B_TRUE.
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Committed |
MT-Level | Safe |
September 18, 2008 | OmniOS |