Data Link Provider Interface Library Functions dlpiwalk(3DLPI)
NAME
dlpiwalk - traverse DLPI links
SYNOPSIS
cc [ flag... ] file... -ldlpi [ library... ]
#include
void dlpiwalk(dlpiwalkfunct *fn, void *arg, uintt flags);
typedef booleant dlpiwalkfunct(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
dlpiwalk().
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 dlpiwalk() function visits all DLPI links on the sys-
tem. 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 BTRUE.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 18 Sep 2008 1
Data Link Provider Interface Library Functions dlpiwalk(3DLPI)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level Safe
SEE ALSO
libdlpi(3LIB), attributes(5)
SunOS 5.11 Last change: 18 Sep 2008 2
|