aboutsummaryrefslogtreecommitdiffstats
path: root/terms.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--terms.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/terms.c b/terms.c
index 2caa095..f21b2b3 100644
--- a/terms.c
+++ b/terms.c
@@ -1,4 +1,4 @@
-/* $Id: terms.c,v 1.33 2002/09/09 13:49:17 ukai Exp $ */
+/* $Id: terms.c,v 1.34 2002/11/06 03:50:49 ukai Exp $ */
/*
* An original curses library for EUC-kanji by Akinori ITO, December 1989
* revised by Akinori ITO, January 1995
@@ -610,6 +610,12 @@ close_tty(void)
close(tty);
}
+char *
+ttyname_tty(void)
+{
+ return ttyname(tty);
+}
+
void
reset_tty(void)
{