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

Lgrab_error
get Lgrab error message string

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

const char *
Lgrab_error(int error);

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

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

Uncommitted

MT-Safe

libproc(3LIB), Lgrab(3PROC)
May 11, 2016 OmniOS