---
name: "sysdecode_ioctlname"
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_ioctlname"
---

# sysdecode\_ioctlname(3)

lookup name of device control command

## NAME

**sysdecode\_ioctlname** – lookup name of device control command

## LIBRARY

library “libsysdecode”

## SYNOPSIS

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

*const* *char* *\**\

**sysdecode\_ioctlname**(*unsigned long request*);

## DESCRIPTION

The **sysdecode\_ioctlname**() function returns the name of a device control request identified by *request*. A table of names is generated during the build of the **sysdecode** library from system headers that maps device control request values to the name of the corresponding C macro.

## RETURN VALUES

The **sysdecode\_ioctlname**() function returns the name of a device control request if *request* is a known value; otherwise NULL.

## SEE ALSO

[sysdecode(3)](/sysdecode/3.md)
