summaryrefslogtreecommitdiff
path: root/userspace/sys/sgtty.h
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2015-05-25 13:04:41 +0200
committerMichal Idziorek <m.i@gmx.at>2015-05-25 13:04:41 +0200
commit2c8cefb3a269d66a6a705bcb4912b0657379273c (patch)
tree677ee15b87072e5ccd560f1be277abaf11b1ec28 /userspace/sys/sgtty.h
parent8ea3e244d44190e44a092ffb004e13ad94174c68 (diff)
fixed crt0.o for compiler toolchain (-lfool no more!)
Diffstat (limited to 'userspace/sys/sgtty.h')
-rw-r--r--userspace/sys/sgtty.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/userspace/sys/sgtty.h b/userspace/sys/sgtty.h
new file mode 100644
index 0000000..9e91b44
--- /dev/null
+++ b/userspace/sys/sgtty.h
@@ -0,0 +1,15 @@
+#define TIOCFLUSH 0x01
+#define RAW 0x02
+#define CBREAK 0x04
+#define XTABS 0x08
+#define CRMOD 0x10
+#define ECHO 0x20
+
+struct sgttyb{
+ int sg_ospeed;
+ int sg_erase;
+ int sg_kill;
+ int sg_flags;
+
+ // TODO: same struct should be used for /terminal/terminal.h ?
+};