Main index | Section 3 | Options |
#include <sysdecode.h>
Most of these functions decode an argument passed to a system call:
Function | System Call | Argument |
sysdecode_acltype() | acl_get_file(3) | type |
sysdecode_atfd() | openat(2) | fd |
sysdecode_extattrnamespace() | extattr_get_fd(2) | attrnamespace |
sysdecode_fadvice() | posix_fadvise(2) | advice |
sysdecode_fcntl_cmd() | fcntl(2) | cmd |
sysdecode_getfsstat_mode() | getfsstat(2) | mode |
sysdecode_idtype() | procctl(2), waitid(2) | idtype |
sysdecode_itimer() | getitimer(2), setitimer(2) | which |
sysdecode_kldsym_cmd() | kldsym(2) | cmd |
sysdecode_kldunload_flags() | kldunloadf(2) | flags |
sysdecode_lio_listio_mode() | lio_listio(2) | mode |
sysdecode_madvice() | madvise(2) | advice |
sysdecode_minherit_inherit() | minherit(2) | inherit |
sysdecode_msgctl_cmd() | msgctl(2) | cmd |
sysdecode_nfssvc_flags() | nfssvc(2) | flags |
sysdecode_pathconf_name() | pathconf(2) | name |
sysdecode_prio_which() | getpriority(2) | which |
sysdecode_procctl_cmd() | procctl(2) | cmd |
sysdecode_ptrace_request() | ptrace(2) | request |
sysdecode_rlimit() | getrlimit(2) | resource |
sysdecode_rtprio_function() | rtprio(2) | function |
sysdecode_getrusage_who() | getrusage(2) | who |
sysdecode_scheduler_policy() | sched_setscheduler(2) | policy |
sysdecode_semctl_cmd() | semctl(2) | cmd |
sysdecode_shmctl_cmd() | shmctl(2) | cmd |
sysdecode_shutdown_how() | shutdown(2) | how |
sysdecode_sigprocmask_how() | sigprocmask(2) | how |
sysdecode_sockopt_level() | getsockopt(2) | level |
sysdecode_sysarch_number() | sysarch(2) | number |
sysdecode_umtx_op() | _umtx_op(2) | op |
sysdecode_whence() | lseek(2) | whence |
These functions decode signal-specific signal codes stored in the si_code field of the siginfo_t object associated with an instance of signal:
Function | Signal |
sysdecode_sigbus_code() | SIGBUS |
sysdecode_sigchld_code() | SIGCHLD |
sysdecode_sigfpe_code() | SIGFPE |
sysdecode_sigill_code() | SIGILL |
sysdecode_sigsegv_code() | SIGSEGV |
sysdecode_sigtrap_code() | SIGTRAP |
Other functions decode the values described below:
sysdecode_ipproto() | |
An IP protocol. | |
sysdecode_sctp_pr_policy() | |
A PR-SCTP policy. | |
sysdecode_signal() | |
A process signal. | |
sysdecode_sockaddr_family() | |
A socket address family. | |
sysdecode_socketdomain() | |
A socket domain. | |
sysdecode_vmresult() | |
The return value of a function in the virtual memory subsystem of the kernel indicating the status of the associated request. | |
sysdecode_enum (3) | June 22, 2022 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | The most horrifying thing about Unix is that, no matter how many times you hit yourself over the head with it, you never quite manage to lose consciousness. It just goes on and on. | ” |
— Patrick Sobalvarro |