Linux Kernel
3.7.1
|
#include <linux/tty.h>
Go to the source code of this file.
Macros | |
#define | CTRLCHAR_NONE (1 << 8) |
#define | CTRLCHAR_CTRL (2 << 8) |
#define | CTRLCHAR_SYSRQ (3 << 8) |
#define | CTRLCHAR_MASK (~0xffu) |
Functions | |
unsigned int | ctrlchar_handle (const unsigned char *buf, int len, struct tty_struct *tty) |
#define CTRLCHAR_CTRL (2 << 8) |
Definition at line 16 of file ctrlchar.h.
#define CTRLCHAR_MASK (~0xffu) |
Definition at line 19 of file ctrlchar.h.
#define CTRLCHAR_NONE (1 << 8) |
Definition at line 15 of file ctrlchar.h.
#define CTRLCHAR_SYSRQ (3 << 8) |
Definition at line 17 of file ctrlchar.h.
Check for special chars at start of input.
buf | Console input buffer. |
len | Length of valid data in buffer. |
tty | The tty struct for this console. |
Definition at line 41 of file ctrlchar.c.