Searched refs:gr_vt_fd (Results 1 – 1 of 1) sorted by relevance
62 static int gr_vt_fd = -1; variable308 gr_vt_fd = open("/dev/tty0", O_RDWR | O_SYNC); in gr_init()309 if (gr_vt_fd < 0) { in gr_init()312 } else if (ioctl(gr_vt_fd, KDSETMODE, (void*) KD_GRAPHICS)) { in gr_init()352 ioctl(gr_vt_fd, KDSETMODE, (void*) KD_TEXT); in gr_exit()353 close(gr_vt_fd); in gr_exit()354 gr_vt_fd = -1; in gr_exit()