sysdecode_ioctlname(3)                        FreeBSD Library Functions Manual

NAME

     sysdecode_ioctlname - lookup name of device control command

LIBRARY

     System Argument Decoding Library (libsysdecode, -lsysdecode)

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)

FreeBSD 15.1-STABLE-HBSD       October 17, 2016         sysdecode_ioctlname(3)