sysdecode_ioctlname3
Lookup name of device control command
Usage
#include <sysdecode.h>
const char *
sysdecode_ioctlname(unsigned long request);
Library
library “libsysdecode”
Overview
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.
Releases
25 releases since FreeBSD 11.0-RELEASE; the text changed 12 times.