options/linux: add struct vt_stat and some VT ioctls
#ifndef _LINUX_VT_H
#define _LINUX_VT_H
+#define VT_OPENQRY 0x5600
#define VT_SETMODE 0x5602
+#define VT_GETSTATE 0x5603
#define VT_RELDISP 0x5605
#define VT_ACTIVATE 0x5606
#define VT_WAITACTIVE 0x5607
@@ -23,6 +25,12 @@ struct vt_mode {
short frsig;
};
+struct vt_stat {
+ unsigned short v_active;
+ unsigned short v_signal;
+ unsigned short v_state;
+};
+
#ifdef __cplusplus
}
#endif __cplusplus
