dlpi_mactype - convert a DLPI MAC type to a string
cc [ flag ... ] file ... -ldlpi [ library ... ] #include <libdlpi.h> const char *dlpi_mactype(uint_t mactype);
The dlpi_mactype() function returns a pointer to a string that describes the specified mactype. Possible MAC types are defined in <sys/dlpi.h>. The string is not dynamically allocated and must not be freed by the caller.
Upon success, the function returns a pointer string that describes the MAC type. If mactype is unknown, the string "Unknown MAC Type" is returned.
See attributes(5) for description of the following attributes:
|
libdlpi(3LIB), attributes(5)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |