sysdecode_syscallname(3)

sysdecode_syscallname3

Lookup name of system calls

Usage

#include <sysdecode.h>

const char *

sysdecode_syscallname(enum sysdecode_abi abi, unsigned int code);

Library

library “libsysdecode”

Overview

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_syscallname returns NULL.

For the list of supported ABIs, see sysdecode(3).

Return values

The sysdecode_syscallname function returns a pointer to a string on success or NULL if either code or ABI is invalid .

Releases

Unchanged in 4 releases since FreeBSD 14.5-RELEASE.

  1. 14.5–16.0

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.