DCMD_CHR_*

This chapter describes the devctl() commands that apply to character devices. Where possible, the devctl() commands are set up so as to match the corresponding ioctl() command:

  • If there's a corresponding ioctl() command, the devctl() command is in this class:
    #define _CMD_IOCTL_TTY                  't'
      

    and the Synopsis includes the name of the ioctl() command as a comment.

  • If there isn't a corresponding ioctl() command, the devctl() command is in this class:
    #define _DCMD_CHR               0x03
      
Page updated: