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 |
---|
16 | pipe(), Function |
---|
17 | @end example |
---|
18 | |
---|
19 | @section File Descriptor Manipulation |
---|
20 | |
---|
21 | @subsection Duplicate an Open File Descriptor |
---|
22 | |
---|
23 | @example |
---|
24 | dup(), Function |
---|
25 | dup2(), Function |
---|
26 | @end example |
---|
27 | |
---|
28 | @section File Descriptor Deassignment |
---|
29 | |
---|
30 | @subsection Close a File |
---|
31 | |
---|
32 | @example |
---|
33 | close(), Function |
---|
34 | @end example |
---|
35 | |
---|
36 | @section Input and Output |
---|
37 | |
---|
38 | @subsection Read from a File |
---|
39 | |
---|
40 | @example |
---|
41 | read(), Function |
---|
42 | @end example |
---|
43 | |
---|
44 | @subsection Write to a File |
---|
45 | |
---|
46 | @example |
---|
47 | write(), Function |
---|
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 |
---|
57 | fcntl(), Function |
---|
58 | @end example |
---|
59 | |
---|
60 | @subsection Reposition Read/Write File Offset |
---|
61 | |
---|
62 | @example |
---|
63 | lseek(), Function |
---|
64 | @end example |
---|
65 | |
---|
66 | @section File Synchronization |
---|
67 | |
---|
68 | @subsection Synchronize the State of a File |
---|
69 | |
---|
70 | @example |
---|
71 | fsync(), Function |
---|
72 | @end example |
---|
73 | |
---|
74 | @subsection Synchronize the Data of a File |
---|
75 | |
---|
76 | @example |
---|
77 | fdatasync(), Function |
---|
78 | @end example |
---|
79 | |
---|
80 | @section Asynchronous Input and Output |
---|
81 | |
---|
82 | @subsection Data Definitions for Asynchronous Input and Output |
---|
83 | |
---|
84 | @subsection Asynchronous Read |
---|
85 | |
---|
86 | @example |
---|
87 | aio_read(), Function |
---|
88 | @end example |
---|
89 | |
---|
90 | @subsection Asynchronous Write |
---|
91 | |
---|
92 | @example |
---|
93 | aio_write(), Function |
---|
94 | @end example |
---|
95 | |
---|
96 | @subsection List Directed I/O |
---|
97 | |
---|
98 | @example |
---|
99 | aio_listio(), Function |
---|
100 | @end example |
---|
101 | |
---|
102 | @subsection Retrieve Error Status of Asynchronous I/O Operation |
---|
103 | |
---|
104 | @example |
---|
105 | aio_error(), Function |
---|
106 | @end example |
---|
107 | |
---|
108 | @subsection Retrieve Return Status of Asynchronous I/O Operation |
---|
109 | |
---|
110 | @example |
---|
111 | aio_return(), Function |
---|
112 | @end example |
---|
113 | |
---|
114 | @subsection Cancel Asynchronous I/O Request |
---|
115 | |
---|
116 | @example |
---|
117 | aio_cancel(), Function |
---|
118 | @end example |
---|
119 | |
---|
120 | @subsection Wait for Asynchronous I/O Request |
---|
121 | |
---|
122 | @example |
---|
123 | aio_suspend(), Function |
---|
124 | @end example |
---|
125 | |
---|
126 | @subsection Asynchronous File Synchronization |
---|
127 | |
---|
128 | @example |
---|
129 | aio_fsync(), Function |
---|
130 | @end example |
---|
131 | |
---|