summaryrefslogtreecommitdiff
path: root/static/unix-v10/man3/ttyn.3
diff options
context:
space:
mode:
Diffstat (limited to 'static/unix-v10/man3/ttyn.3')
-rw-r--r--static/unix-v10/man3/ttyn.326
1 files changed, 26 insertions, 0 deletions
diff --git a/static/unix-v10/man3/ttyn.3 b/static/unix-v10/man3/ttyn.3
new file mode 100644
index 00000000..9c9d2399
--- /dev/null
+++ b/static/unix-v10/man3/ttyn.3
@@ -0,0 +1,26 @@
+.pa 1
+.he 'TTYN (III)'1/15/73'TTYN (III)'
+.ti 0
+NAME ttyn -- return name of current tty
+.sp
+.ti 0
+SYNOPSIS jsr pc,ttyn
+.sp
+.ti 0
+DESCRIPTION The routine hunts up the name of the
+input tty attached to the process (one byte from the set
+{012345678abc} at present) and returns it in r0.
+.sp
+"x" is returned if no genuine input tty is attached to the process.
+.sp
+.ti 0
+FILES kept in /lib/liba.a
+.sp
+.ti 0
+SEE ALSO fstat(II)
+.sp
+.ti 0
+DIAGNOSTICS --
+.sp
+.ti 0
+BUGS --