dlpi_walk(3dlpi) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

dlpi_walk(3dlpi)

dl...alk(3DLPI) Data Link Provider Interface Library Functions dl...alk(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        DLPI_ALLZONES

                    Include non-global zone DLPI links  in  the  walk  (global
                    zone only).


DESCRIPTION
       The dlpi_walk() function visits all DLPI links. The walk terminates ei‐
       ther when all links have been visited or when fn() returns B_TRUE.

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

       tab()  box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
       TRIBUTE VALUE _ Interface StabilityCommitted _ MT-LevelSafe


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

Oracle Solaris 11.4               7 Apr 2011                   dl...alk(3DLPI)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3