source: rtems/doc/posix1003.1/ch07.t @ 7331714

4.104.114.84.95
Last change on this file since 7331714 was 7331714, checked in by Joel Sherrill <joel.sherrill@…>, on 03/18/98 at 18:15:01

Added Constants, Feature Flags, and Macros (included in Functions).
No status information was included.

  • Property mode set to 100644
File size: 3.6 KB
Line 
1@c
2@c  COPYRIGHT (c) 1988-1998.
3@c  On-Line Applications Research Corporation (OAR).
4@c  All rights reserved.
5@c
6@c  $Id$
7@c
8
9@chapter Device- and Class-Specific Functions
10
11@section General Terminal Interface
12
13@subsection Interface Characteristics
14
15@subsubsection Opening a Terminal Device File
16
17@subsubsection Process Groups (TTY)
18
19@subsubsection The Controlling Terminal
20
21@subsubsection Terminal Access Control
22
23@subsubsection Input Processing and Reading Data
24
25@subsubsection Canonical Mode Input Processing
26
27@subsubsection Noncanonical Mode Input Processing
28
29@lowersections
30
31@subsubsection Case A --- MIN > 0 and TIME > 0
32
33@subsubsection Case B --- MIN > 0 and TIME = 0
34
35@subsubsection Case C --- MIN = 0 and TIME > 0
36
37@subsubsection Case D --- MIN = 0 and TIME = 0
38
39@raisesections
40
41@subsubsection Writing Data and Output Processing
42
43@subsubsection Special Characters
44
45@example
46INTR, Constant,
47QUIT, Constant,
48ERASE, Constant,
49KILL, Constant,
50EOF, Constant,
51NL, Constant,
52EOL, Constant,
53SUSP, Constant,
54STOP, Constant,
55START, Constant,
56CR, Constant,
57@end example
58
59@subsubsection Modem Disconnect
60
61@subsubsection Closing a Terminal Device File
62
63@subsection Parameters That Can Be Set
64
65@subsubsection @code{termios} Structure
66
67@example
68tcflag_t, Type,
69cc_t, Type,
70struct termios, Type, Partial Implementation
71@end example
72
73@subsubsection Input Modes
74
75@example
76BRKINT, Constant,
77ICRNL, Constant,
78IGNBREAK, Constant,
79IGNCR, Constant,
80IGNPAR, Constant,
81INLCR, Constant,
82INPCK, Constant,
83ISTRIP, Constant,
84IXOFF, Constant,
85IXON, Constant,
86PARMRK, Constant,
87@end example
88
89@subsubsection Output Modes
90
91@example
92OPOST, Constant,
93@end example
94
95@subsubsection Control Modes
96
97@example
98CLOCKAL, Constant,
99CREAD, Constant,
100CSIZE, Constant,
101CS5, Constant,
102CS6, Constant,
103CS7, Constant,
104CS8, Constant,
105CSTOPB, Constant,
106HUPCL, Constant,
107PARENB, Constant,
108PARODD, Constant,
109@end example
110
111@subsubsection Local Modes
112
113@example
114ECHO, Constant,
115ECHOE, Constant,
116ECHOK, Constant,
117ECHONL, Constant,
118ICANON, Constant,
119IEXTEN, Constant,
120ISIG, Constant,
121NOFLSH, Constant,
122TOSTOP, Constant,
123@end example
124
125@subsubsection Special Control Characters
126
127@example
128VEOF, Constant,
129VEOL, Constant,
130VERASE, Constant,
131VINTR, Constant,
132VKILL, Constant,
133VQUIT, Constant,
134VSUSP, Constant,
135VSTART, Constant,
136VSTOP, Constant,
137VMIN, Constant,
138VTIME, Constant,
139@end example
140
141@subsection Baud Rate Values
142
143@example
144B0, Constant,
145B50, Constant,
146B75, Constant,
147B110, Constant,
148B134, Constant,
149B150, Constant,
150B200, Constant,
151B300, Constant,
152B600, Constant,
153B1200, Constant,
154B1800, Constant,
155B2400, Constant,
156B4800, Constant,
157B9600, Constant,
158B19200, Constant,
159B38400, Constant,
160@end example
161
162@subsubsection Baud Rate Functions
163
164@example
165cfgetospeed(), Function, Unimplemented
166cfsetospeed(), Function, Unimplemented
167cfgetispeed(), Function, Unimplemented
168cfsetispeed(), Function, Unimplemented
169TCIFLUSH, Constant,
170TCOFLUSH, Constant,
171TCIOFLUSH, Constant,
172TCOOFF, Constant,
173TCOON, Constant,
174TCIOOFF, Constant,
175TCIOON, Constant,
176@end example
177
178@section General Terminal Interface Control Functions
179
180@subsection Get and Set State
181
182@example
183tcgetattr(), Function, Implemented
184tcsetattr(), Function, Implemented
185@end example
186
187@subsection Line Control Functions
188
189@example
190tcsendbreak(), Function, Unimplemented
191tcdrain(), Function, Unimplemented
192tcflush(), Function, Unimplemented
193tcflow(), Function, Unimplemented
194@end example
195
196@subsection Get Foreground Process Group ID
197
198@example
199tcgetprgrp(), Function, Unimplemented
200@end example
201
202@subsection Set Foreground Process Group ID
203
204@example
205tcsetprgrp(), Function, Unimplemented
206@end example
207
Note: See TracBrowser for help on using the repository browser.