summaryrefslogtreecommitdiffstats
path: root/libc/kernel/common/linux/tiocl.h
blob: db15a8db6808ce8b93ce1c4b8821613c8fd5a4aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/****************************************************************************
 ****************************************************************************
 ***
 ***   This header was automatically generated from a Linux kernel header
 ***   of the same name, to make information necessary for userspace to
 ***   call into the kernel available to libc.  It contains only constants,
 ***   structures, and macros generated from the original header, and thus,
 ***   contains no copyrightable information.
 ***
 ****************************************************************************
 ****************************************************************************/
#ifndef _LINUX_TIOCL_H
#define _LINUX_TIOCL_H

#define TIOCL_SETSEL 2  
#define TIOCL_SELCHAR 0  
#define TIOCL_SELWORD 1  
#define TIOCL_SELLINE 2  
#define TIOCL_SELPOINTER 3  
#define TIOCL_SELCLEAR 4  
#define TIOCL_SELMOUSEREPORT 16  
#define TIOCL_SELBUTTONMASK 15  

struct tiocl_selection {
 unsigned short xs;
 unsigned short ys;
 unsigned short xe;
 unsigned short ye;
 unsigned short sel_mode;
};

#define TIOCL_PASTESEL 3  
#define TIOCL_UNBLANKSCREEN 4  

#define TIOCL_SELLOADLUT 5

#define TIOCL_GETSHIFTSTATE 6  
#define TIOCL_GETMOUSEREPORTING 7  
#define TIOCL_SETVESABLANK 10  
#define TIOCL_SETKMSGREDIRECT 11  
#define TIOCL_GETFGCONSOLE 12  
#define TIOCL_SCROLLCONSOLE 13  
#define TIOCL_BLANKSCREEN 14  
#define TIOCL_BLANKEDSCREEN 15  
#define TIOCL_GETKMSGREDIRECT 17  

#endif