source: rtems/doc/posix1003.1/ch06.t @ 2119f9d

4.104.114.84.95
Last change on this file since 2119f9d was 2119f9d, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 29, 1998 at 4:42:51 PM

making release docs

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