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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [html/] [ref/] [posix-input-and-output.html] - Blame information for rev 174

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
>Input and Output [POSIX Section 6]</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="Files and Directories [POSIX Section 5]"
26
HREF="posix-files-and-directories.html"><LINK
27
REL="NEXT"
28
TITLE="Device and Class Specific Functions [POSIX Section 7]"
29
HREF="posix-device-and-class-specific-functions.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-files-and-directories.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-device-and-class-specific-functions.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-INPUT-AND-OUTPUT">Input and Output &#0091;POSIX Section 6&#0093;</H1
86
><DIV
87
CLASS="SECT2"
88
><H2
89
CLASS="SECT2"
90
><A
91
NAME="AEN13062">Functions Implemented</H2
92
><TABLE
93
BORDER="5"
94
BGCOLOR="#E0E0F0"
95
WIDTH="70%"
96
><TR
97
><TD
98
><PRE
99
CLASS="SCREEN"
100
>int dup( int fd );
101
int dup2( int fd, int fd2 );
102
int close(int fd);
103
ssize&#0095;t   read(int fd, void &#0042;buf, size&#0095;t nbyte);
104
ssize&#0095;t   write(int fd, const void &#0042;buf, size&#0095;t nbyte);
105
int fcntl( int fd, int cmd, ... );
106
off&#0095;t lseek(int fd, off&#0095;t offset, int whence);
107
int fsync( int fd );
108
int fdatasync( int fd );</PRE
109
></TD
110
></TR
111
></TABLE
112
></DIV
113
><DIV
114
CLASS="SECT2"
115
><H2
116
CLASS="SECT2"
117
><A
118
NAME="AEN13065">Functions Omitted</H2
119
><TABLE
120
BORDER="5"
121
BGCOLOR="#E0E0F0"
122
WIDTH="70%"
123
><TR
124
><TD
125
><PRE
126
CLASS="SCREEN"
127
>int pipe( int fildes&#0091;2&#0093; );
128
int aio&#0095;read( struct aiocb &#0042;aiocbp );                               &#0047;&#0047; TBA
129
int aio&#0095;write( struct aiocb &#0042;aiocbp );                              &#0047;&#0047; TBA
130
int lio&#0095;listio( int mode, struct aiocb &#0042;const list&#0091;&#0093;,
131
                int nent, struct sigevent &#0042;sig);          &#0047;&#0047; TBA
132
int aio&#0095;error( struct aiocb &#0042;aiocbp );                              &#0047;&#0047; TBA
133
int aio&#0095;return( struct aiocb &#0042;aiocbp );                             &#0047;&#0047; TBA
134
int aio&#0095;cancel( int fd, struct aiocb &#0042;aiocbp );                     &#0047;&#0047; TBA
135
int aio&#0095;suspend( const struct aiocb &#0042;const list&#0091;&#0093;,
136
                 int nent, const struct timespec &#0042;timeout );      &#0047;&#0047; TBA
137
int aio&#0095;fsync( int op, struct aiocb &#0042;aiocbp );
138
&#0047;&#0047; TBA</PRE
139
></TD
140
></TR
141
></TABLE
142
></DIV
143
><DIV
144
CLASS="SECT2"
145
><H2
146
CLASS="SECT2"
147
><A
148
NAME="AEN13068">Notes</H2
149
><P
150
></P
151
><UL
152
><LI
153
><P
154
>           Only the <SPAN
155
CLASS="emphasis"
156
><I
157
CLASS="EMPHASIS"
158
>F&#0095;DUPFD</I
159
></SPAN
160
> command
161
            of <SPAN
162
CLASS="emphasis"
163
><I
164
CLASS="EMPHASIS"
165
>fcntl()</I
166
></SPAN
167
> is currently implemented.
168
            </P
169
></LI
170
><LI
171
><P
172
>           Most of the functionality of these functions depends on
173
            the underlying filesystem.
174
            </P
175
></LI
176
></UL
177
></DIV
178
></DIV
179
><DIV
180
CLASS="NAVFOOTER"
181
><HR
182
ALIGN="LEFT"
183
WIDTH="100%"><TABLE
184
SUMMARY="Footer navigation table"
185
WIDTH="100%"
186
BORDER="0"
187
CELLPADDING="0"
188
CELLSPACING="0"
189
><TR
190
><TD
191
WIDTH="33%"
192
ALIGN="left"
193
VALIGN="top"
194
><A
195
HREF="posix-files-and-directories.html"
196
ACCESSKEY="P"
197
>Prev</A
198
></TD
199
><TD
200
WIDTH="34%"
201
ALIGN="center"
202
VALIGN="top"
203
><A
204
HREF="ecos-ref.html"
205
ACCESSKEY="H"
206
>Home</A
207
></TD
208
><TD
209
WIDTH="33%"
210
ALIGN="right"
211
VALIGN="top"
212
><A
213
HREF="posix-device-and-class-specific-functions.html"
214
ACCESSKEY="N"
215
>Next</A
216
></TD
217
></TR
218
><TR
219
><TD
220
WIDTH="33%"
221
ALIGN="left"
222
VALIGN="top"
223
>Files and Directories &#0091;POSIX Section 5&#0093;</TD
224
><TD
225
WIDTH="34%"
226
ALIGN="center"
227
VALIGN="top"
228
><A
229
HREF="posix-standard-support.html"
230
ACCESSKEY="U"
231
>Up</A
232
></TD
233
><TD
234
WIDTH="33%"
235
ALIGN="right"
236
VALIGN="top"
237
>Device and Class Specific Functions &#0091;POSIX Section 7&#0093;</TD
238
></TR
239
></TABLE
240
></DIV
241
></BODY
242
></HTML
243
>

powered by: WebSVN 2.1.0

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