summaryrefslogtreecommitdiff
path: root/static/v10/man2/gtty.2
diff options
context:
space:
mode:
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 --