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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [doc/] [posix1003.1/] [ch06.t] - Blame information for rev 1780

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

Line No. Rev Author Line
1 1026 ivang
@c
2
@c  COPYRIGHT (c) 1988-2002.
3
@c  On-Line Applications Research Corporation (OAR).
4
@c  All rights reserved.
5
@c
6
@c  ch06.t,v 1.14 2002/01/17 21:47:45 joel Exp
7
@c
8
 
9
@chapter Input and Output Primitives
10
 
11
@section Pipes
12
 
13
@subsection Create an Inter-Process Channel
14
 
15
@example
16
pipe(), Function, Dummy Implementation
17
@end example
18
 
19
NOTE: pipe() returns ENOSYS.
20
 
21
@section File Descriptor Manipulation
22
 
23
@subsection Duplicate an Open File Descriptor
24
 
25
@example
26
dup(), Function, Implemented
27
dup2(), Function, Implemented
28
@end example
29
 
30
@section File Descriptor Deassignment
31
 
32
@subsection Close a File
33
 
34
@example
35
close(), Function, Implemented
36
@end example
37
 
38
@section Input and Output
39
 
40
@subsection Read from a File
41
 
42
@example
43
read(), Function, Implemented
44
@end example
45
 
46
@subsection Write to a File
47
 
48
@example
49
write(), Function, Implemented
50
@end example
51
 
52
@section Control Operations on Files
53
 
54
@subsection Data Definitions for File Control Operations
55
 
56
@subsection File Control
57
 
58
@example
59
struct flock, Type, Implemented
60
fcntl(), Function, Implemented
61
F_DUPFD, Constant, Implemented
62
F_GETFD, Constant, Implemented
63
F_GETLK, Constant, Implemented
64
F_SETFD, Constant, Implemented
65
F_GETFL, Constant, Implemented
66
F_SETFL, Constant, Implemented
67
F_SETLK, Constant, Implemented
68
F_SETLKW, Constant, Implemented
69
FD_CLOEXEC, Constant, Implemented
70
F_RDLCK, Constant, Implemented
71
F_UNLCK, Constant, Implemented
72
F_WRLCK, Constant, Implemented
73
O_ACCMODE, Constant, Implemented
74
@end example
75
 
76
NOTE: A number of constants are used by both @code{open} and @code{fcntl}.
77
@code{O_CREAT}, @code{O_EXCL}, @code{O_NOCTTY}, @code{O_TRUNC},
78
@code{O_APPEND}, @code{O_DSYNC}, @code{O_NONBLOCK}, @code{O_RSYNC},
79
@code{O_SYNC}, @code{O_RDONLY}, @code{O_RDWR}, and @code{O_WRONLY}
80
are also included in another section.  @xref{Open a File}.
81
 
82
@subsection Reposition Read/Write File Offset
83
 
84
@example
85
lseek(), Function, Implemented
86
SEEK_SET, Constant, Implemented
87
SEEK_CUR, Constant, Implemented
88
SEEK_END, Constant, Implemented
89
@end example
90
 
91
@section File Synchronization
92
 
93
@subsection Synchronize the State of a File
94
 
95
@example
96
fsync(), Function, Implemented
97
@end example
98
 
99
@subsection Synchronize the Data of a File
100
 
101
@example
102
fdatasync(), Function, Implemented
103
@end example
104
 
105
@section Asynchronous Input and Output
106
 
107
@subsection Data Definitions for Asynchronous Input and Output
108
 
109
@subsubsection Asynchronous I/O Control Block
110
 
111
@example
112
struct aiocb, Type, Untested Implementation
113
@end example
114
 
115
@subsubsection Asynchronous I/O Manifest Constants
116
 
117
@example
118
AIO_CANCELED, Constant, Implemented
119
AIO_NOTCANCELED, Constant, Implemented
120
AIO_ALLDONE, Constant, Implemented
121
LIO_WAIT, Constant, Implemented
122
LIO_NOWAIT, Constant, Implemented
123
LIO_READ, Constant, Implemented
124
LIO_WRITE, Constant, Implemented
125
LIO_NOP, Constant, Implemented
126
@end example
127
 
128
@subsection Asynchronous Read
129
 
130
@example
131
aio_read(), Function, Dummy Implementation
132
@end example
133
 
134
@subsection Asynchronous Write
135
 
136
@example
137
aio_write(), Function, Dummy Implementation
138
@end example
139
 
140
@subsection List Directed I/O
141
 
142
@example
143
lio_listio(), Function, Dummy Implementation
144
@end example
145
 
146
@subsection Retrieve Error Status of Asynchronous I/O Operation
147
 
148
@example
149
aio_error(), Function, Dummy Implementation
150
@end example
151
 
152
@subsection Retrieve Return Status of Asynchronous I/O Operation
153
 
154
@example
155
aio_return(), Function, Dummy Implementation
156
@end example
157
 
158
@subsection Cancel Asynchronous I/O Request
159
 
160
@example
161
aio_cancel(), Function, Dummy Implementation
162
@end example
163
 
164
@subsection Wait for Asynchronous I/O Request
165
 
166
@example
167
aio_suspend(), Function, Dummy Implementation
168
@end example
169
 
170
@subsection Asynchronous File Synchronization
171
 
172
@example
173
aio_fsync(), Function, Dummy Implementation
174
@end example
175
 

powered by: WebSVN 2.1.0

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