dlpi_mactype man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

dlpi_mactype(3DLData Link Provider Interface Library Functidlpi_mactype(3DLPI)

NAME
       dlpi_mactype - convert a DLPI MAC type to a string

SYNOPSIS
       cc [ flag ... ] file ... -ldlpi [ library ... ]
       #include <libdlpi.h>

       const char *dlpi_mactype(uint_t mactype);

DESCRIPTION
       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.

RETURN VALUES
       Upon success, the function returns a pointer string that describes  the
       MAC  type.  If  mactype	is  unknown,  the string "Unknown MAC Type" is
       returned.

ATTRIBUTES
       See attributes(5) for description of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Committed			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │MT-Level		     │Safe			   │
       └─────────────────────────────┴─────────────────────────────┘

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

SunOS 5.11			  15 Jun 2007		   dlpi_mactype(3DLPI)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net