CONS_GET
if (ioctl(0, CONS_GET, &VGLOldMode) || ioctl(0, CONS_CURRENT, &adptype))
case CONS_GET: /* get current video mode */
case CONS_GET:
if (ioctl(0, CONS_GET, &cur_info.video_mode_number) == -1)
if (ioctl(0, CONS_GET, &cur_mode) < 0)