dlpi_strerror man page on Solaris

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

dlpi_strerror(3DData Link Provider Interface Library Functdlpi_strerror(3DLPI)

NAME
       dlpi_strerror - get DLPI error message

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

       const char *dlpi_strerror(int err);

DESCRIPTION
       The  dlpi_strerror()  function maps the error code in err into an error
       message string and returns a pointer to that string.

       If err is DL_SYSERR, a string that describes the current value of errno
       is  returned.  Otherwise, if err corresponds to an error code listed in
       <libdlpi.h> or <sys/dlpi.h>, a string which  describes  that  error  is
       returned.

       The  string  is	not dynamically allocated and must not be freed by the
       caller.

RETURN VALUES
       Upon success, the function returns  a  pointer  to  the	error  message
       string.	If  the error code is unknown, the string "Unknown DLPI error"
       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.10			  22 Aug 2007		  dlpi_strerror(3DLPI)
[top]

List of man pages available for Solaris

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