Command Section

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 <sys/types.h>
     #include <stdbool.h>
     #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 13.1-RELEASE-p6        October 17, 2016        FreeBSD 13.1-RELEASE-p6

Command Section

man2web Home...