summaryrefslogtreecommitdiff
path: root/libc/include/termios.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/termios.h')
-rw-r--r--libc/include/termios.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/libc/include/termios.h b/libc/include/termios.h
new file mode 100644
index 0000000..4ca1ec8
--- /dev/null
+++ b/libc/include/termios.h
@@ -0,0 +1,24 @@
+#ifndef __TERMIOS_H
+#define __TERMIOS_H
+
+#include <features.h>
+#include <sys/types.h>
+#include <linuxmt/termios.h>
+
+extern int cfgetispeed __P ((struct termios *__termios_p));
+extern int cfgetospeed __P ((struct termios *__termios_p));
+extern int cfsetispeed __P ((struct termios *__termios_p, speed_t __speed));
+extern int cfsetospeed __P ((struct termios *__termios_p, speed_t __speed));
+
+extern void cfmakeraw __P ((struct termios *__t));
+
+extern int tcsetattr __P ((int __fd, int __opt, struct termios *__termios_p));
+extern int tcgetattr __P ((int __fildes, struct termios *__termios_p));
+extern int tcdrain __P ((int __fildes));
+extern int tcflow __P ((int __fildes, int __action));
+extern int tcflush __P ((int __fildes, int __queue_selector));
+extern int tcsendbreak __P ((int __fildes, int __duration));
+extern pid_t tcgetpgrp __P ((int __fildes));
+extern int tcsetpgrp __P ((int __fildes, pid_t __pgrp_id));
+
+#endif