termios.h
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:3k
- #ifndef _M68K_TERMIOS_H
- #define _M68K_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 "