PGRAB_ERROR(3PROC) Process Control Library Functions PGRAB_ERROR(3PROC)
NAME
Pgrab_error - get Pgrab error message string
LIBRARY
Process Control Library (libproc, -lproc)
SYNOPSIS
#include <libproc.h> const char * Pgrab_error(
int error);
DESCRIPTION
The
Pgrab_error() function returns a pointer to a human-readable
character string describing the error that occurred. This function
only knows how to translate errors that are stored in
perr during a
failed call to
Pgrab(3PROC),
Pfgrab_core(3PROC),
Pgrab_core(3PROC), or
Pgrab_file(3PROC).
RETURN VALUES
The
Pgrab_error() function always returns a pointer to a character
string that describes the error that occurred, even if it is an unknown
error.
INTERFACE STABILITY
UncommittedMT-LEVEL MT-SafeSEE ALSO
libproc(3LIB),
Pgrab(3PROC),
Pgrab_core(3PROC),
Pgrab_file(3PROC)illumos May 11, 2016 illumos