tty.ioctl − called when a ioctl is request to the tty
tty.ioctl
cmd
the ioctl command
arg
the ioctl argument
name
the file name