termios.h
上传用户:szlgq88
上传日期:2009-04-28
资源大小:48287k
文件大小:3k
- #ifndef __ASM_ARM_TERMIOS_H
- #define __ASM_ARM_TERMIOS_H
- #include <asm/termbits.h>
- #include <asm/ioctls.h>
- struct winsize {
- unsigned short ws_row;
- unsigned short ws_col;
- unsigned short ws_xpixel;
- unsigned short ws_ypixel;
- };
- #define NCC 8
- struct termio {
- unsigned short c_iflag; /* input mode flags */
- unsigned short c_oflag; /* output mode flags */
- unsigned short c_cflag; /* control mode flags */
- unsigned short c_lflag; /* local mode flags */
- unsigned char c_line; /* line discipline */
- unsigned char c_cc[NCC]; /* control characters */
- };
- #ifdef __KERNEL__
- /* intr=^C quit=^| erase=del kill=^U
- eof=^D vtime= vmin=1 sxtc=
- start=^Q stop=^S susp=^Z eol=
- reprint=^R discard=^U werase=^W lnext=^V
- eol2=
- */
- #define INIT_C_CC "