diff options
Diffstat (limited to 'xxx/sys/sgtty.h')
| -rw-r--r-- | xxx/sys/sgtty.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/xxx/sys/sgtty.h b/xxx/sys/sgtty.h new file mode 100644 index 0000000..24d0218 --- /dev/null +++ b/xxx/sys/sgtty.h @@ -0,0 +1,19 @@ +#define TIOCFLUSH 0x01 +#define RAW 0x02 +#define CBREAK 0x04 +#define XTABS 0x08 +#define CRMOD 0x10 +#define ECHO 0x20 + +// TODO: same struct should be used for /terminal/terminal.h ? +struct sgttyb{ + + int sg_ospeed; + int sg_ispeed; + + char sg_erase; + char sg_kill; + + int sg_flags; + +}; |
