PGRAB_ERROR(3PROC) Process Control Library Functions PGRAB_ERROR(3PROC)
Pgrab_error - get Pgrab error message string
Process Control Library (libproc, -lproc)
#include <libproc.h>
const char *
Pgrab_error(int error);
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).
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.
Uncommitted
MT-LEVEL
MT-Safe
libproc(3LIB), Pgrab(3PROC), Pgrab_core(3PROC), Pgrab_file(3PROC)
illumos May 11, 2016 illumos
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
Uncommitted
MT-LEVEL
MT-Safe
SEE ALSO
libproc(3LIB), Pgrab(3PROC), Pgrab_core(3PROC), Pgrab_file(3PROC)
illumos May 11, 2016 illumos