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

Lgrab_errorget Lgrab error message string

Process Control Library (libproc, -lproc)

#include <libproc.h>

const char *
Lgrab_error(int error);

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

libproc(3LIB), Lgrab(3PROC)

November 27, 2023 OmniOS