|
NAMEsysdecode_enum ,
sysdecode_acltype ,
sysdecode_atfd ,
sysdecode_extattrnamespace ,
sysdecode_fadvice ,
sysdecode_fcntl_cmd ,
sysdecode_getfsstat_mode ,
sysdecode_getrusage_who ,
sysdecode_idtype ,
sysdecode_ipproto ,
sysdecode_kldsym_cmd ,
sysdecode_kldunload_flags ,
sysdecode_lio_listio_mode ,
sysdecode_madvice ,
sysdecode_minherit_flags ,
sysdecode_msgctl_cmd ,
sysdecode_nfssvc_flags ,
sysdecode_pathconf_name ,
sysdecode_prio_which ,
sysdecode_procctl_cmd ,
sysdecode_ptrace_request ,
sysdecode_rlimit ,
sysdecode_rtprio_function ,
sysdecode_scheduler_policy ,
sysdecode_sctp_pr_policy ,
sysdecode_sctp_sinfo_flags ,
sysdecode_semctl_cmd ,
sysdecode_shmctl_cmd ,
sysdecode_shutdown_how ,
sysdecode_sigbus_code ,
sysdecode_sigchld_code ,
sysdecode_sigfpe_code ,
sysdecode_sigill_code ,
sysdecode_signal ,
sysdecode_sigprocmask_how ,
sysdecode_sigsegv_code ,
sysdecode_sigtrap_code ,
sysdecode_sockaddr_family ,
sysdecode_socketdomain ,
sysdecode_sockettype ,
sysdecode_sockopt_level ,
sysdecode_sysarch_number ,
sysdecode_umtx_op ,
sysdecode_vmresult ,
sysdecode_whence —
lookup name of various enumerated values
LIBRARYSystem Argument Decoding Library (libsysdecode, -lsysdecode)SYNOPSIS#include <sys/types.h>
#include <stdbool.h>
#include <sysdecode.h>
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
const char *
DESCRIPTIONThesysdecode_enum functions return a text description
of an integer value. The text description matches the name of a C macro with
the same value as the sole function argument. NULL is
returned if there is no matching C macro name.
Most of these functions decode an argument passed to a system call:
These functions decode signal-specific signal codes stored in the si_code field of the siginfo_t object associated with an instance of signal:
Other functions decode the values described below:
RETURN VALUESThesysdecode_enum functions return the name of a
matching C macro or NULL if no matching C macro was
found.
SEE ALSOsysdecode(3), sysdecode_mask(3), sysdecode_sigcode(3)
Visit the GSP FreeBSD Man Page Interface. |