CIOCSETCONSOLE
if (ioctl(fd, CIOCSETCONSOLE, dev) != 0) {
(void) sysmioctl(NODEV, CIOCSETCONSOLE,
case CIOCSETCONSOLE: