PERROR_PRINTF(3PROC) Process Control Library Functions PERROR_PRINTF(3PROC)
- interposable function for additional diagnostics
SYNOPSIS void Perror_printf
(struct ps_prochandle *P
, const char *format
() function allows for consumers of the libproc
obtain additional diagnostic information during various operations.
Consumers must explicitly interpose
on this symbol and provide their own
definition, if desired. There is no requirement for such an interposition
to be done. When called, P
will be the process handle that the additional
diagnostics are being generated for and the diagnostics will be provided in
INTERFACE STABILITY Uncommitted
While the interposing interface is uncommitted
, the provided diagnostics
and may change at any time.
Callers should presume that this function may be called from multiple
threads and always in a context in which taking locks is fine. Callers
should not expect to be called from a signal handler.
SEE ALSO libproc(3LIB)
illumos May 11, 2016 illumos