PROC_STR2FLT(3PROC) | Process Control Library Functions | PROC_STR2FLT(3PROC) |
proc_str2flt
, proc_str2sig
,
proc_str2sys
—
#include <libproc.h>
int
proc_str2flt
(const char *str,
int *fltnum);
int
proc_str2sig
(const char *str,
int *signum);
int
proc_str2sys
(const char *sys,
int *sysnum);
proc_str2flt
(),
proc_str2sig
(), and
proc_str2sys
() functions convert a string into the
corresponding fault, signal, and system call number respectively and stores
the resulting value in fltnum,
signum, or sysnum respectively.
proc_str2flt
(),
proc_str2sig
(), and
proc_str2sys
() functions return 0
and update fltnum, signum, and
sysnum respectively. Otherwise, -1 is
returned to indicate that a conversion could not take place.
May 11, 2016 | OmniOS |