ENCIOC_SETENCSTAT
if (ioctl(fd, ENCIOC_SETENCSTAT,
if (ioctl(fd, ENCIOC_SETENCSTAT, (caddr_t) &stat) < 0) {
case ENCIOC_SETENCSTAT: {
r = ioctl(fd, ENCIOC_SETENCSTAT, (caddr_t) &encstat);
ioctl(fd, ENCIOC_SETENCSTAT, (caddr_t) &encstat);