move termios prototypes into a public header
[ghc-hetmet.git] / includes / rts / TTY.h
diff --git a/includes/rts/TTY.h b/includes/rts/TTY.h
new file mode 100644 (file)
index 0000000..f1ef62e
--- /dev/null
@@ -0,0 +1,15 @@
+/* -----------------------------------------------------------------------------
+ *
+ * (c) The GHC Team, 2009
+ *
+ * POSIX TTY-related functionality
+ *
+ * -------------------------------------------------------------------------- */
+
+#ifndef RTS_TTY_H
+#define RTS_TTY_H
+
+void* __hscore_get_saved_termios(int fd);
+void  __hscore_set_saved_termios(int fd, void* ts);
+
+#endif /* RTS_TTY_H */