1 PGRAB_ERROR(3PROC) Process Control Library Functions PGRAB_ERROR(3PROC) 2 3 NAME 4 Pgrab_error - get Pgrab error message string 5 6 LIBRARY 7 Process Control Library (libproc, -lproc) 8 9 SYNOPSIS 10 #include <libproc.h> 11 12 const char * 13 Pgrab_error(int error); 14 15 DESCRIPTION 16 The Pgrab_error() function returns a pointer to a human-readable 17 character string describing the error that occurred. This function only 18 knows how to translate errors that are stored in perr during a failed 19 call to Pgrab(3PROC), Pfgrab_core(3PROC), Pgrab_core(3PROC), or 20 Pgrab_file(3PROC). 21 22 RETURN VALUES 23 The Pgrab_error() function always returns a pointer to a character string 24 that describes the error that occurred, even if it is an unknown error. 25 26 INTERFACE STABILITY 27 Uncommitted 28 29 MT-LEVEL 30 MT-Safe 31 32 SEE ALSO 33 libproc(3LIB), Pgrab(3PROC), Pgrab_core(3PROC), Pgrab_file(3PROC) 34 35 illumos May 11, 2016 illumos