diff options
-rw-r--r-- | hurd/ChangeLog | 5 | ||||
-rw-r--r-- | hurd/term.defs | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/hurd/ChangeLog b/hurd/ChangeLog index b865c3c8..d0696380 100644 --- a/hurd/ChangeLog +++ b/hurd/ChangeLog @@ -1,3 +1,8 @@ +Mon Mar 15 14:48:24 1999 Thomas Bushnell, BSG <tb@mit.edu> + + * term.defs (term_get_peername): New RPC, suggested by Mark + Kettenis (kettenis@wins.uva.nl). + Thu Feb 18 00:29:43 1999 Thomas Bushnell, BSG <tb@mit.edu> * tioctl.defs, term.defs: Mark with INTR_INTERFACE. diff --git a/hurd/term.defs b/hurd/term.defs index 40a3ff29..dbc03b76 100644 --- a/hurd/term.defs +++ b/hurd/term.defs @@ -112,3 +112,12 @@ routine termctty_open_terminal ( ctty: mach_port_t; flags: int; out terminal: mach_port_send_t); + +/* This call is only supported for PTY-based terminals. For a slave, + it returns a filename which, when opened, would yield the master for + this terminal. For a master, it returns a filename which, when + opened, would yield the slave for this terminal. */ +routine term_get_peername ( + terminal: io_t; + out name: string_t); + |