VSF Documented
vt.h
Go to the documentation of this file.
1#ifndef __VSF_LINUX_VT_H__
2#define __VSF_LINUX_VT_H__
3
4#include <linux/types.h>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10#define VT_OPENQRY (('V' << 8) | 0)
11#define VT_GETMODE (('V' << 8) | 1)
12#define VT_SETMODE (('V' << 8) | 2)
13#define VT_GETSTATE (('V' << 8) | 3)
14#define VT_SENDSIG (('V' << 8) | 4)
15#define VT_RELDISP (('V' << 8) | 5)
16#define VT_ACTIVATE (('V' << 8) | 6)
17#define VT_WAITACTIVE (('V' << 8) | 7)
18#define VT_DISALLOCATE (('V' << 8) | 8)
19#define VT_RESIZE (('V' << 8) | 9)
20#define VT_RESIZEX (('V' << 8) | 10)
21#define VT_LOCKSWITCH (('V' << 8) | 11)
22#define VT_UNLOCKSWITCH (('V' << 8) | 12)
23#define VT_GETHIFONTMASK (('V' << 8) | 13)
24#define VT_WAITEVENT (('V' << 8) | 14)
25#define VT_SETACTIVATE (('V' << 8) | 15)
26
27struct vt_mode {
28 char mode;
29 char waitv;
30 short relsig;
31 short acqsig;
32 short frsig;
33};
34
35struct vt_stat {
36 unsigned short v_active;
37 unsigned short v_signal;
38 unsigned short v_state;
39};
40
41struct vt_sizes {
42 unsigned short v_rows;
43 unsigned short v_cols;
44 unsigned short v_scrollsize;
45};
46
47#ifdef __cplusplus
48}
49#endif
50
51#endif
Definition vt.h:27
short frsig
Definition vt.h:32
short acqsig
Definition vt.h:31
short relsig
Definition vt.h:30
char waitv
Definition vt.h:29
char mode
Definition vt.h:28
Definition vt.h:41
unsigned short v_scrollsize
Definition vt.h:44
unsigned short v_rows
Definition vt.h:42
unsigned short v_cols
Definition vt.h:43
Definition vt.h:35
unsigned short v_active
Definition vt.h:36
unsigned short v_signal
Definition vt.h:37
unsigned short v_state
Definition vt.h:38