Usermode/libposix - PTY Support (stubbed)
[tpg/acess2.git] / Usermode / Libraries / libposix.so_src / include_exp / pty.h
diff --git a/Usermode/Libraries/libposix.so_src/include_exp/pty.h b/Usermode/Libraries/libposix.so_src/include_exp/pty.h
new file mode 100644 (file)
index 0000000..03b3d56
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ * Acess2 POSIX Emulation Layer
+ * - By John Hodge
+ * 
+ * pty.h
+ * - PTY Management
+ *
+ * BSD Conforming (Non-POSIX)
+ */
+#ifndef _LIBPOSIX__PTY_H_
+#define _LIBPOSIX__PTY_H_
+
+#include <termios.h>
+#include <unistd.h>
+
+extern int openpty(int *amaster, int *aslave, char *name, const struct termios *termp, const struct winsize *winp);
+extern pid_t forkpty(int *amaster, char *name, const struct termios *termp, const struct winsize *winp);
+// - utmp.h?
+extern int login_tty(int fd);
+
+#endif
+

UCC git Repository :: git.ucc.asn.au