summaryrefslogtreecommitdiff
path: root/xxx/sys/sys/termios.h
diff options
context:
space:
mode:
Diffstat (limited to 'xxx/sys/sys/termios.h')
-rw-r--r--xxx/sys/sys/termios.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/xxx/sys/sys/termios.h b/xxx/sys/sys/termios.h
new file mode 100644
index 0000000..9b9cdc4
--- /dev/null
+++ b/xxx/sys/sys/termios.h
@@ -0,0 +1,27 @@
+#include <stdint.h>
+
+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
+
+struct direct{
+ char d_name[256];
+ int d_namlen
+};
+