PROC_FLTNAME(3PROC) | Process Control Library Functions | PROC_FLTNAME(3PROC) |
proc_fltname
, proc_signame
,
proc_sysname
, proc_dmodelname
—
#include <libproc.h>
char *
proc_fltname
(int flt,
char *buf, size_t bufsz);
char *
proc_signame
(int sig,
char *buf, size_t bufsz);
char *
proc_sysname
(int sys,
char *buf, size_t bufsz);
char *
proc_dmodelname
(int dmodel,
char *buf, size_t bufsz);
proc_fltname
(),
proc_signame
(), proc_sysname
()
and proc_dmodelname
() functions respectively convert
the fault, signal, system call and data model in flt,
sig, sys and
dmodel to a human-readable name and place the
corresponding string in buf. Up to
bufsz characters, including the null terminator, will be
written into buf.
proc_fltname
(),
proc_signame
(), proc_sysname
()
and proc_dmodelname
() functions return a pointer to
buf. The contents of buf are
always null terminated. Otherwise, NULL
is returned.
May 11, 2016 | OmniOS |