man.bsd.lv manual page server

Manual Page Search Parameters

sysdecode_ioctlname(3) Library Functions Manual sysdecode_ioctlname(3)

sysdecode_ioctlnamelookup name of device control command

library “libsysdecode”

#include <sys/types.h>
#include <stdbool.h>
#include <sysdecode.h>

const char *
sysdecode_ioctlname(unsigned long request);

The () 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.

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

sysdecode(3)

October 17, 2016 FreeBSD-13.0