|
|
1.1 root 1: .th GTTY II 8/5/73
2: .sh NAME
3: gtty \*- get typewriter status
4: .sh SYNOPSIS
5: (gtty = 32.)
6: .br
7: (file descriptor in r0)
8: .ft B
9: .br
10: sys gtty; arg
11: .br
12: .li
13: ...
14: arg: .=.+6
15: .s3
16: gtty(fildes, arg)
17: .br
18: int arg[3];
19: .ft R
20: .sh DESCRIPTION
21: .it Gtty
22: stores in the three words addressed by
23: .it arg
24: the status
25: of the typewriter whose file descriptor is given in r0
26: (resp. given as the first argument).
27: The format is the same as that passed by
28: .it stty.
29: .sh "SEE ALSO"
30: stty(II)
31: .sh DIAGNOSTICS
32: Error bit
33: (c-bit) is set if the file descriptor does not refer
34: to a typewriter.
35: From C, a \*-1 value is returned for an
36: error, 0, for a successful call.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.