diff options
Diffstat (limited to 'libc/kernel/common/linux/tiocl.h')
-rw-r--r-- | libc/kernel/common/linux/tiocl.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/libc/kernel/common/linux/tiocl.h b/libc/kernel/common/linux/tiocl.h new file mode 100644 index 0000000..db15a8d --- /dev/null +++ b/libc/kernel/common/linux/tiocl.h @@ -0,0 +1,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 |