PROC_FLTNAME(3PROC) Process Control Library Functions PROC_FLTNAME(3PROC)
NAME
proc_fltname,
proc_signame,
proc_sysname,
proc_dmodelname - convert a
fault, signal, system call and data model to a name
LIBRARY
Process Control Library (libproc, -lproc)
SYNOPSIS
#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);
DESCRIPTION
The
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.
RETURN VALUES
Upon successful completion, the
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.
INTERFACE STABILITY
UncommittedMT-LEVEL MT-SafeSEE ALSO
libproc(3LIB),
proc_fltset2str(3PROC),
proc_sigset2str(3PROC),
proc_str2flt(3PROC),
proc_str2fltset(3PROC),
proc_str2sig(3PROC),
proc_str2sigset(3PROC),
proc_str2sys(3PROC),
proc_str2sysset(3PROC),
proc_sysset2str(3PROC),
proc(5)illumos November 27, 2023 illumos