OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [html/] [ref/] [posix-device-and-class-specific-functions.html] - Blame information for rev 565

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 28 unneback
<!-- Copyright (C) 2003 Red Hat, Inc.                                -->
2
<!-- This material may be distributed only subject to the terms      -->
3
<!-- and conditions set forth in the Open Publication License, v1.0  -->
4
<!-- or later (the latest version is presently available at          -->
5
<!-- http://www.opencontent.org/openpub/).                           -->
6
<!-- Distribution of the work or derivative of the work in any       -->
7
<!-- standard (paper) book form is prohibited unless prior           -->
8
<!-- permission is obtained from the copyright holder.               -->
9
<HTML
10
><HEAD
11
><TITLE
12
>Device and Class Specific Functions [POSIX Section 7]</TITLE
13
><meta name="MSSmartTagsPreventParsing" content="TRUE">
14
<META
15
NAME="GENERATOR"
16
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
17
"><LINK
18
REL="HOME"
19
TITLE="eCos Reference Manual"
20
HREF="ecos-ref.html"><LINK
21
REL="UP"
22
TITLE="POSIX Standard Support"
23
HREF="posix-standard-support.html"><LINK
24
REL="PREVIOUS"
25
TITLE="Input and Output [POSIX Section 6]"
26
HREF="posix-input-and-output.html"><LINK
27
REL="NEXT"
28
TITLE="C Language Services [POSIX Section 8]"
29
HREF="posix-c-language-services.html"></HEAD
30
><BODY
31
CLASS="SECT1"
32
BGCOLOR="#FFFFFF"
33
TEXT="#000000"
34
LINK="#0000FF"
35
VLINK="#840084"
36
ALINK="#0000FF"
37
><DIV
38
CLASS="NAVHEADER"
39
><TABLE
40
SUMMARY="Header navigation table"
41
WIDTH="100%"
42
BORDER="0"
43
CELLPADDING="0"
44
CELLSPACING="0"
45
><TR
46
><TH
47
COLSPAN="3"
48
ALIGN="center"
49
>eCos Reference Manual</TH
50
></TR
51
><TR
52
><TD
53
WIDTH="10%"
54
ALIGN="left"
55
VALIGN="bottom"
56
><A
57
HREF="posix-input-and-output.html"
58
ACCESSKEY="P"
59
>Prev</A
60
></TD
61
><TD
62
WIDTH="80%"
63
ALIGN="center"
64
VALIGN="bottom"
65
>Chapter 31. POSIX Standard Support</TD
66
><TD
67
WIDTH="10%"
68
ALIGN="right"
69
VALIGN="bottom"
70
><A
71
HREF="posix-c-language-services.html"
72
ACCESSKEY="N"
73
>Next</A
74
></TD
75
></TR
76
></TABLE
77
><HR
78
ALIGN="LEFT"
79
WIDTH="100%"></DIV
80
><DIV
81
CLASS="SECT1"
82
><H1
83
CLASS="SECT1"
84
><A
85
NAME="POSIX-DEVICE-AND-CLASS-SPECIFIC-FUNCTIONS">Device and Class Specific Functions &#0091;POSIX Section 7&#0093;</H1
86
><DIV
87
CLASS="SECT2"
88
><H2
89
CLASS="SECT2"
90
><A
91
NAME="AEN13079">Functions Implemented</H2
92
><TABLE
93
BORDER="5"
94
BGCOLOR="#E0E0F0"
95
WIDTH="70%"
96
><TR
97
><TD
98
><PRE
99
CLASS="SCREEN"
100
>speed&#0095;t cfgetospeed( const struct termios &#0042;termios&#0095;p );
101
int cfsetospeed( struct termios &#0042;termios&#0095;p, speed&#0095;t speed );
102
speed&#0095;t cfgetispeed( const struct termios &#0042;termios&#0095;p );
103
int cfsetispeed( struct termios &#0042;termios&#0095;p, speed&#0095;t speed );
104
int tcgetattr( int fd, struct termios &#0042;termios&#0095;p );
105
int tcsetattr( int fd, int optional&#0095;actions,
106
               const struct termios &#0042;termios&#0095;p );
107
int tcsendbreak( int fd, int duration );
108
int tcdrain( int fd );
109
int tcflush( int fd, int queue&#0095;selector );
110
int tcsendbreak( int fd, int action );</PRE
111
></TD
112
></TR
113
></TABLE
114
></DIV
115
><DIV
116
CLASS="SECT2"
117
><H2
118
CLASS="SECT2"
119
><A
120
NAME="AEN13082">Functions Omitted</H2
121
><TABLE
122
BORDER="5"
123
BGCOLOR="#E0E0F0"
124
WIDTH="70%"
125
><TR
126
><TD
127
><PRE
128
CLASS="SCREEN"
129
>pid&#0095;t tcgetpgrp( int fd );
130
int tcsetpgrp( int fd, pid&#0095;t pgrp );</PRE
131
></TD
132
></TR
133
></TABLE
134
></DIV
135
><DIV
136
CLASS="SECT2"
137
><H2
138
CLASS="SECT2"
139
><A
140
NAME="AEN13085">Notes</H2
141
><P
142
></P
143
><UL
144
><LI
145
><P
146
>           Only the functionality relevant to basic serial device
147
            control is implemented. Only very limited support for
148
            canonical input is provided, and then only via the
149
            &#8220;tty&#8221; devices, not the &#8220;serial&#8221;
150
            devices. None of the functionality relevant to job
151
            control, controlling terminals and sessions is
152
            implemented.
153
            </P
154
></LI
155
><LI
156
><P
157
>           Only <SPAN
158
CLASS="emphasis"
159
><I
160
CLASS="EMPHASIS"
161
>MIN</I
162
></SPAN
163
> &#0061; 0 and
164
            <SPAN
165
CLASS="emphasis"
166
><I
167
CLASS="EMPHASIS"
168
>TIME</I
169
></SPAN
170
> &#0061; 0 functionality is
171
            provided.
172
            </P
173
></LI
174
><LI
175
><P
176
>           Hardware flow control is supported if the underlying
177
            device driver and serial port support it.
178
            </P
179
></LI
180
><LI
181
><P
182
>           Support for break, framing and parity errors depends on
183
            the functionality of the hardware and device driver.
184
            </P
185
></LI
186
></UL
187
></DIV
188
></DIV
189
><DIV
190
CLASS="NAVFOOTER"
191
><HR
192
ALIGN="LEFT"
193
WIDTH="100%"><TABLE
194
SUMMARY="Footer navigation table"
195
WIDTH="100%"
196
BORDER="0"
197
CELLPADDING="0"
198
CELLSPACING="0"
199
><TR
200
><TD
201
WIDTH="33%"
202
ALIGN="left"
203
VALIGN="top"
204
><A
205
HREF="posix-input-and-output.html"
206
ACCESSKEY="P"
207
>Prev</A
208
></TD
209
><TD
210
WIDTH="34%"
211
ALIGN="center"
212
VALIGN="top"
213
><A
214
HREF="ecos-ref.html"
215
ACCESSKEY="H"
216
>Home</A
217
></TD
218
><TD
219
WIDTH="33%"
220
ALIGN="right"
221
VALIGN="top"
222
><A
223
HREF="posix-c-language-services.html"
224
ACCESSKEY="N"
225
>Next</A
226
></TD
227
></TR
228
><TR
229
><TD
230
WIDTH="33%"
231
ALIGN="left"
232
VALIGN="top"
233
>Input and Output &#0091;POSIX Section 6&#0093;</TD
234
><TD
235
WIDTH="34%"
236
ALIGN="center"
237
VALIGN="top"
238
><A
239
HREF="posix-standard-support.html"
240
ACCESSKEY="U"
241
>Up</A
242
></TD
243
><TD
244
WIDTH="33%"
245
ALIGN="right"
246
VALIGN="top"
247
>C Language Services &#0091;POSIX Section 8&#0093;</TD
248
></TR
249
></TABLE
250
></DIV
251
></BODY
252
></HTML
253
>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.