|
|
1.1 root 1:
2:
3: ttyslot() General Function ttyslot()
4:
5:
6:
7:
8: Return a terminal's line number
9:
10: iinntt ttttyysslloott()
11:
12: ttyslot returns the number of the line in the file /etc/ttys that
13: describes the controlling terminal (see ttys).
14:
15: ***** Files *****
16:
17: /ddeevv/* -- Terminal special files
18: /eettcc/ttttyyss -- Login terminals
19:
20: ***** See Also *****
21:
22: general functions, ioctl(), isatty(), tty, ttyname()
23:
24: ***** Diagnostics *****
25:
26: ttyslot returns zero if an error occurs.
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.