Initial revision
This commit is contained in:
parent
8baf357d6e
commit
2078b95d5f
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…
x
Reference in New Issue
Block a user