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

Pcreate_error
get Pcreate, Pxcreate error message string

Process Control Library (libproc, -lproc)

#include <libproc.h>
const char *
Pcreate_error(int error);

The Pcreate_error() function returns a pointer to a human-readable character string describing the error that occurred. The Pcreate_error() function translates errors produced by the Pcreate(3PROC) and Pxcreate(3PROC) functions only (passed as the perr argument).

The Pcreate_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-Safe

libproc(3LIB), Pcreate(3PROC), Pxcreate(3PROC)
May 11, 2016 illumos