summaryrefslogtreecommitdiffstats
path: root/doc/posix1003.1/ch06.t
blob: 81d0a53e905916863993857a4808a09c6416303d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
@c
@c  COPYRIGHT (c) 1988-1998.
@c  On-Line Applications Research Corporation (OAR).
@c  All rights reserved.
@c
@c  $Id$
@c

@chapter Input and Output Primitives

@section Pipes

@subsection Create an Inter-Process Channel

@example
pipe()
@end example

@section File Descriptor Manipulation

@subsection Duplicate an Open File Descriptor

@example
dup()
dup2()
@end example

@section File Descriptor Deassignment

@subsection Close a File

@example
close()
@end example

@section Input and Output

@subsection Read from a File

@example
read()
@end example

@subsection Write to a File

@example
write()
@end example

@section Control Operations on Files

@subsection Data Definitions for File Control Operations

@subsection File Control

@example
fcntl()
@end example

@subsection Reposition Read/Write File Offset

@example
lseek()
@end example

@section File Synchronization

@subsection Synchronize the State of a File

@example
fsync()
@end example

@subsection Synchronize the Data of a File

@example
fdatasync()
@end example

@section Asynchronous Input and Output

@subsection Data Definitions for Asynchronous Input and Output

@subsection Asynchronous Read

@example
aio_read()
@end example

@subsection Asynchronous Write

@example
aio_write()
@end example

@subsection List Directed I/O

@example
aio_listio()
@end example

@subsection Retrieve Error Status of Asynchronous I/O Operation

@example
aio_error()
@end example

@subsection Retrieve Return Status of Asynchronous I/O Operation

@example
aio_return()
@end example

@subsection Cancel Asynchronous I/O Request

@example
aio_cancel()
@end example

@subsection Wait for Asynchronous I/O Request

@example
aio_suspend()
@end example

@subsection Asynchronous File Synchronization

@example
aio_fsync()
@end example