Initial revision
This commit is contained in:
parent
da28bdd2f0
commit
e190db8128
1 changed files with 17 additions and 0 deletions
17
include/_tail_cc/sgtty.h
Normal file
17
include/_tail_cc/sgtty.h
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
#ifdef __CHANNEL__
|
||||||
|
#define TIOCGETP (('t'<<8)|8)
|
||||||
|
#define TIOCSETN (('t'<<8)|10)
|
||||||
|
struct sgttyb {
|
||||||
|
char sg_ispeed;
|
||||||
|
char sg_ospeed;
|
||||||
|
char sg_erase;
|
||||||
|
char sg_kill;
|
||||||
|
short sg_flags;
|
||||||
|
};
|
||||||
|
|
||||||
|
#define CBREAK 02
|
||||||
|
#define ECHO 010
|
||||||
|
#define CRMOD 020
|
||||||
|
#else
|
||||||
|
#include "/usr/include/sgtty.h"
|
||||||
|
#endif
|
Loading…
Add table
Reference in a new issue