a53c8fab3f
Remove the file name from the comment at top of many files. In most cases the file name was wrong anyway, so it's rather pointless. Also unify the IBM copyright statement. We did have a lot of sightly different statements and wanted to change them one after another whenever a file gets touched. However that never happened. Instead people start to take the old/"wrong" statements to use as a template for new files. So unify all of them in one go. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
19 lines
407 B
C
19 lines
407 B
C
/*
|
|
* Unified handling of special chars.
|
|
*
|
|
* Copyright IBM Corp. 2001
|
|
* Author(s): Fritz Elfert <felfert@millenux.com> <elfert@de.ibm.com>
|
|
*
|
|
*/
|
|
|
|
#include <linux/tty.h>
|
|
|
|
extern unsigned int
|
|
ctrlchar_handle(const unsigned char *buf, int len, struct tty_struct *tty);
|
|
|
|
|
|
#define CTRLCHAR_NONE (1 << 8)
|
|
#define CTRLCHAR_CTRL (2 << 8)
|
|
#define CTRLCHAR_SYSRQ (3 << 8)
|
|
|
|
#define CTRLCHAR_MASK (~0xffu)
|