summaryrefslogtreecommitdiff
path: root/static/v10/man2/gtty.2
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 21:07:28 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 21:07:28 -0400
commit711594636704defae873be1a355a292505585afd (patch)
tree59ee13f863830d8beba6cfd02bbe813dd486c26f /static/v10/man2/gtty.2
parent3258a063c1f189d7b019e40e525b46bef9b9a7b1 (diff)
docs: Added UNIX V10 Manuals
Diffstat (limited to 'static/v10/man2/gtty.2')
-rw-r--r--static/v10/man2/gtty.231
1 files changed, 31 insertions, 0 deletions
diff --git a/static/v10/man2/gtty.2 b/static/v10/man2/gtty.2
new file mode 100644
index 00000000..0f265f64
--- /dev/null
+++ b/static/v10/man2/gtty.2
@@ -0,0 +1,31 @@
+.pa 1
+.he 'GTTY (II)'3/15/72'GTTY (II)'
+.ti 0
+NAME gtty -- get typewriter status
+.sp
+.ti 0
+SYNOPSIS (file descriptor in r0)
+.br
+sys gtty; arg / gtty = 32.
+.br
+.li
+...
+.ti -5
+arg: .=.+6
+.sp
+.ti 0
+DESCRIPTION gtty____
+stores in the three words addressed by arg___ the status
+of the typewriter whose file descriptor is given in r0.
+The format is the same as that passed by stty____.
+.sp
+.ti 0
+SEE ALSO stty(II)
+.sp
+.ti 0
+DIAGNOSTICS Error bit
+(c-bit) is set if the file descriptor does not refer
+to a typewriter.
+.sp
+.ti 0
+BUGS --