Searched refs:vcs (Results 1 - 1 of 1) sorted by relevance

/systemd/src/vconsole/
H A Dvconsole-setup.c194 struct vt_stat vcs = {}; local
202 r = ioctl(fd, VT_GETSTATE, &vcs);
209 char vcname[strlen("/dev/vcs") + DECIMAL_STR_MAX(int)];
213 if (i == vcs.v_active)
217 xsprintf(vcname, "/dev/vcs%i", i);
228 cfo.height = vcs.v_active-1; /* tty1 == index 0 */

Completed in 14 milliseconds