LGRAB_ERROR(3PROC) Process Control Library Functions LGRAB_ERROR(3PROC)

NAME


Lgrab_error - get Lgrab error message string

SYNOPSIS


Process Control Library (libproc, -lproc)
#include <libproc.h>

const char *
Lgrab_error(int error);

DESCRIPTION


The Lgrab_error() function returns a pointer to a human-readable character
string describing the error that occurred. The Lgrab_error() function only
knows how to translate error codes that were stored in the third argument
(perr) of a call to Lgrab(3PROC).

RETURN VALUES


The Lgrab_error() function always returns a pointer to a character string
describing the error that occurred, even if it is an unknown error.

INTERFACE STABILITY


Uncommitted

MT-LEVEL
MT-Safe

SEE ALSO


libproc(3LIB), Lgrab(3PROC)

illumos May 11, 2016 illumos