Data Link Provider Interface Library Functions
dlpi_linkname(3DLPI)
NAME
dlpi_linkname - get DLPI link name
SYNOPSIS
cc [ flag ... ] file ... -ldlpi [ library ... ]
#include
const char *dlpi_linkname(dlpi_handle_t dh);
DESCRIPTION
The dlpi_linkname() function returns a pointer to the link
name of the DLPI link instance associated with the DLPI han-
dle dh. The returned string is managed by libdlpi and must not be modified or freed by the caller.RETURN VALUES
Upon success, the function returns a pointer to the link name associated with the DLPI handle.ATTRIBUTES
See attributes(5) for description of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | Safe |
|_____________________________|_____________________________|
SEE ALSO
libdlpi(3LIB), attributes(5)SunOS 5.11 Last change: 15 Jun 2007 1
Data Link Provider Interface Library Functionsdlpi_linkname(3DLPI)
SunOS 5.11 Last change: 15 Jun 2007 2