summaryrefslogtreecommitdiff
path: root/userspace/sys/termios.h
diff options
context:
space:
mode:
Diffstat (limited to 'userspace/sys/termios.h')
-rw-r--r--userspace/sys/termios.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/userspace/sys/termios.h b/userspace/sys/termios.h
index ff1e838..b6625be 100644
--- a/userspace/sys/termios.h
+++ b/userspace/sys/termios.h
@@ -1,2 +1,20 @@
typedef uint32_t speed_t;
typedef uint32_t DIR;
+
+#define B0 0000000 /* hang up */
+#define B50 0000001
+#define B75 0000002
+#define B110 0000003
+#define B134 0000004
+#define B150 0000005
+#define B200 0000006
+#define B300 0000007
+#define B600 0000010
+#define B1200 0000011
+#define B1800 0000012
+#define B2400 0000013
+#define B4800 0000014
+#define B9600 0000015
+#define B19200 0000016
+#define B38400 0000017
+