sysdecode_ioctlname(3) | MidnightBSD Library Functions Manual | sysdecode_ioctlname(3) |
sysdecode_ioctlname
—
lookup name of device control command
System Argument Decoding Library (libsysdecode, -lsysdecode)
#include
<sys/types.h>
#include <stdbool.h>
#include <sysdecode.h>
const char *
sysdecode_ioctlname
(unsigned
long request);
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.
The sysdecode_ioctlname
() function returns
the name of a device control request if request is a
known value; otherwise NULL
.
October 17, 2016 | midnightbsd-3.1 |