summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-03-15 20:05:20 +0000
committerThomas Bushnell <thomas@gnu.org>1999-03-15 20:05:20 +0000
commit98fba1729e7c80fa3b0c7b65d07495631ba213d1 (patch)
treef0304aa938372279db4a09993b3febbbfe169be6 /hurd
parente1cffa5bc130e9b0fa185b48c5acdfbe27047e05 (diff)
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).
Diffstat (limited to 'hurd')
-rw-r--r--hurd/ChangeLog5
-rw-r--r--hurd/term.defs9
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);
+