1 |
/* Creation of terminal processors |
/* Creation of terminal processors |
2 |
Copyright (C) 1991, 1993 Free Software Foundation |
Copyright (C) 1991, 1993 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of the GNU Hurd. |
This file is part of the GNU Hurd. |
5 |
|
|
8 |
the Free Software Foundation; either version 2, or (at your option) |
the Free Software Foundation; either version 2, or (at your option) |
9 |
any later version. |
any later version. |
10 |
|
|
11 |
The GNU Hurd is distributed in the hope that it will be useful, |
The GNU Hurd is distributed in the hope that it will be useful, |
12 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 |
GNU General Public License for more details. |
GNU General Public License for more details. |
25 |
|
|
26 |
/* Create a new terminal thingie with no bottom half. (You need to do |
/* Create a new terminal thingie with no bottom half. (You need to do |
27 |
one of term_on_* before this can be used for I/O.) */ |
one of term_on_* before this can be used for I/O.) */ |
28 |
newterm_from_device ( |
routine newterm_from_device ( |
29 |
newterm: mach_port_t; |
newterm: mach_port_t; |
30 |
out terminal: io_t); |
out terminal: io_t); |
31 |
|
|
32 |
/* Register a terminal as a node in the filesystem. */ |
/* Register a terminal as a node in the filesystem. */ |
33 |
newterm_makenode ( |
routine newterm_makenode ( |
34 |
newterm: mach_port_t; |
newterm: mach_port_t; |
35 |
terminal: io_t; |
terminal: io_t; |
36 |
mode: mode_t; |
mode: mode_t; |