sysdecode_syscallnames(3) | MidnightBSD Library Functions Manual | sysdecode_syscallnames(3) |
sysdecode_syscallnames
—
lookup name of system calls
System Argument Decoding Library (libsysdecode, -lsysdecode)
#include
<sys/types.h>
#include <stdbool.h>
#include <sysdecode.h>
const char *
sysdecode_syscallnames
(enum
sysdecode_abi abi,
unsigned int code);
This function returns a pointer to the name of a system call
identified by code for the process ABI
abi. If code specifies an
unknown system call or abi is an unsupported ABI,
sysdecode_syscallnames
returns
NULL
.
For the list of supported ABIs, see sysdecode(3).
The sysdecode_syscallnames
function
returns a pointer to a string on success or NULL
if
either code or ABI is invalid
.
October 17, 2016 | midnightbsd-3.1 |