Lines Matching defs:vtno
179 int vtno;
414 int vtno;
423 if (ioctl(fd, VT_OPENQRY, &vtno) < 0 || vtno < 0)
425 return vtno;
428 static int kbdLinuxOpenVT(int vtno)
436 XmuSnprintf(name, sizeof(name), vcs[i], vtno);
441 vtno, strerror(errno));
453 static int kbdLinuxActivate(int fd, int vtno, int setSig);
476 if (priv->vtno == vt) return 0;
502 static int kbdLinuxActivate(int fd, int vtno, int setSig)
507 SYSCALL(result = ioctl(fd, VT_ACTIVATE, vtno));
509 SYSCALL(result = ioctl(fd, VT_WAITACTIVE, vtno));
530 priv->vtno = kbdLinuxGetFreeVTNumber();
531 priv->fd = kbdLinuxOpenVT(priv->vtno);
534 priv->vtcurrent, priv->vtno);
535 kbdLinuxActivate(priv->fd, priv->vtno, 1);