summaryrefslogtreecommitdiff
path: root/static/unix-v10/man2/gtty.2
blob: 0f265f648b973221d567bd2b7d98380f3fdeb0d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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		--