NAME
sysdecode
—
system argument decoding
library
LIBRARY
library “libsysdecode”
SYNOPSIS
#include
<sys/types.h>
#include <stdbool.h>
#include <sysdecode.h>
DESCRIPTION
Thesysdecode
library includes several functions that
provide descriptive names of values associated with system calls.
Supported ABIs
Some functions in this library provide ABI-specific descriptions. The supported ABIs are named by the enum sysdecode_abi enumeration.
SYSDECODE_ABI_FREEBSD
- Native FreeBSD binaries. Supported on all platforms.
SYSDECODE_ABI_FREEBSD32
- 32-bit FreeBSD binaries. Supported on amd64 and powerpc64.
SYSDECODE_ABI_LINUX
- Linux binaries of the same platform. Supported on amd64, i386, and arm64.
SYSDECODE_ABI_LINUX32
- 32-bit Linux binaries. Supported on amd64.
SYSDECODE_ABI_CLOUDABI32
- 32-bit CloudABI binaries. Supported on all platforms.
SYSDECODE_ABI_CLOUDABI64
- 64-bit CloudABI binaries. Supported on all platforms.
SYSDECODE_ABI_UNKNOWN
- A placeholder for use when the ABI is not known.
SEE ALSO
sysdecode_abi_to_freebsd_errno(3), sysdecode_cap_rights(3), sysdecode_cmsg_type(3), sysdecode_enum(3), sysdecode_fcntl_arg(3), sysdecode_ioctlname(3), sysdecode_kevent(3), sysdecode_mask(3), sysdecode_quotactl_cmd(3), sysdecode_sctp_sinfo_flags(3), sysdecode_sigcode(3), sysdecode_socket_protocol(3), sysdecode_sockopt_name(3), sysdecode_syscallnames(3), sysdecode_utrace(3)
HISTORY
The sysdecode
library first appeared in
FreeBSD 11.0.