ack/include/_tail_cc/termio.h

29 lines
433 B
C
Raw Normal View History

1987-03-26 17:30:29 +00:00
#ifdef __CHANNEL__
#define NCC 8
#define VMIN 4
#define VTIME 5
#define INLCR 0000100
#define ONLCR 0000004
#define ICANON 0000002
#define ECHO 0000010
struct termio {
unsigned short c_iflag;
unsigned short c_oflag;
unsigned short c_cflag;
unsigned short c_lflag;
char c_line;
unsigned char c_cc[NCC];
};
#define TIOC ('T'<<8)
#define TCGETA (TIOC|1)
#define TCSETA (TIOC|2)
#else
#include "/usr/include/termio.h"
#endif