summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1992-02-03 19:18:30 +0000
committerMichael I. Bushnell <mib@gnu.org>1992-02-03 19:18:30 +0000
commitcdea22841f967257001128ae35d9f5f92bb5357b (patch)
tree871b96f4be2e536a88d9d5a502fe319fd0fe4475
parent3b7476b40c95cd3cd280363e80a3278f28fa6d23 (diff)
Initial revision
-rw-r--r--hurd/newterm.defs39
1 files changed, 39 insertions, 0 deletions
diff --git a/hurd/newterm.defs b/hurd/newterm.defs
new file mode 100644
index 00000000..bd9d370b
--- /dev/null
+++ b/hurd/newterm.defs
@@ -0,0 +1,39 @@
+/* Creation of terminal processors
+ Copyright (C) 1991 Free Software Foundation
+
+This file is part of the GNU Hurd.
+
+The GNU Hurd is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 1, or (at your option)
+any later version.
+
+The GNU Hurd is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with the GNU Hurd; see the file COPYING. If not, write to
+the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+/* Written by Michael I. Bushnell. */
+
+subsystem newterm 27000;
+
+#include <hurd/hurd_types.defs>
+
+/* Create a new terminal thingie on top of a mach device_t port. */
+newterm_from_device (
+ newterm: mach_port_t;
+ machdev: device_t;
+ out terminal: io_t);
+
+/* Create a new terminal thingie on top of a hurd IO port. */
+newterm_from_hurdio (
+ newterm: mach_port_t;
+ hurddev: io_t;
+ out terminal: io_t);
+
+/* Create a new terminal thingie and BSD-style pseudo-tty master side. */
+newterm_from_n \ No newline at end of file