---
name: "sysdecode_syscallname"
section: "3"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["freebsd"]
url: "https://new.carta.tech/sysdecode_syscallname"
---

# sysdecode\_syscallname(3)

lookup name of system calls

## NAME

**sysdecode\_syscallname** – lookup name of system calls

## LIBRARY

library “libsysdecode”

## SYNOPSIS

**#include \<sysdecode.h\>**

*const* *char* *\**\

**sysdecode\_syscallname**(*enum sysdecode\_abi abi*, *unsigned int code*);

## DESCRIPTION

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)](/sysdecode/3.md).

## RETURN VALUES

The **sysdecode\_syscallname** function returns a pointer to a string on success or NULL if either *code* or *ABI* is invalid .

## SEE ALSO

[sysdecode(3)](/sysdecode/3.md), [sysdecode\_abi\_to\_freebsd\_errno(3)](/sysdecode_abi_to_freebsd_errno/3.md)
