VSF Documented
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
File List
Globals
source
shell
sys
linux
include
linux
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
7
extern
"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
27
struct
vt_mode
{
28
char
mode
;
29
char
waitv
;
30
short
relsig
;
31
short
acqsig
;
32
short
frsig
;
33
};
34
35
struct
vt_stat
{
36
unsigned
short
v_active
;
37
unsigned
short
v_signal
;
38
unsigned
short
v_state
;
39
};
40
41
struct
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
types.h
vt_mode
Definition
vt.h:27
vt_mode::frsig
short frsig
Definition
vt.h:32
vt_mode::acqsig
short acqsig
Definition
vt.h:31
vt_mode::relsig
short relsig
Definition
vt.h:30
vt_mode::waitv
char waitv
Definition
vt.h:29
vt_mode::mode
char mode
Definition
vt.h:28
vt_sizes
Definition
vt.h:41
vt_sizes::v_scrollsize
unsigned short v_scrollsize
Definition
vt.h:44
vt_sizes::v_rows
unsigned short v_rows
Definition
vt.h:42
vt_sizes::v_cols
unsigned short v_cols
Definition
vt.h:43
vt_stat
Definition
vt.h:35
vt_stat::v_active
unsigned short v_active
Definition
vt.h:36
vt_stat::v_signal
unsigned short v_signal
Definition
vt.h:37
vt_stat::v_state
unsigned short v_state
Definition
vt.h:38
Generated by
1.9.8