reorganize Makefile to support "least surprise" config/make semantics
[musl] / include / linux / vt.h
1 #ifndef _LINUX_VT_H
2 #define _LINUX_VT_H
3
4 #define VT_OPENQRY 0x5600
5
6 struct vt_mode {
7         char mode;
8         char waitv;
9         short relsig;
10         short acqsig;
11         short frsig;
12 };
13 #define VT_GETMODE 0x5601
14 #define VT_SETMODE 0x5602
15 #define VT_AUTO 0x00
16 #define VT_PROCESS 0x01
17 #define VT_ACKACQ 0x02
18
19 struct vt_stat {
20         unsigned short v_active;
21         unsigned short v_signal;
22         unsigned short v_state;
23 };
24 #define VT_GETSTATE 0x5603
25 #define VT_SENDSIG 0x5604
26
27 #define VT_RELDISP 0x5605
28
29 #define VT_ACTIVATE 0x5606
30 #define VT_WAITACTIVE 0x5607
31 #define VT_DISALLOCATE 0x5608
32
33 struct vt_sizes {
34         unsigned short v_rows;
35         unsigned short v_cols;
36         unsigned short v_scrollsize;
37 };
38 #define VT_RESIZE 0x5609
39
40 struct vt_consize {
41         unsigned short v_rows;
42         unsigned short v_cols;
43         unsigned short v_vlin;
44         unsigned short v_clin;
45         unsigned short v_vcol;
46         unsigned short v_ccol;
47 };
48 #define VT_RESIZEX 0x560A
49 #define VT_LOCKSWITCH 0x560B
50 #define VT_UNLOCKSWITCH 0x560C
51
52 #endif