1 | /* |
---|
2 | * $Id$ |
---|
3 | */ |
---|
4 | |
---|
5 | #if HAVE_CONFIG_H |
---|
6 | #include "config.h" |
---|
7 | #endif |
---|
8 | |
---|
9 | #include <aio.h> |
---|
10 | |
---|
11 | #include <rtems/system.h> |
---|
12 | #include <rtems/seterr.h> |
---|
13 | |
---|
14 | int POSIX_NOT_IMPLEMENTED(); |
---|
15 | |
---|
16 | /*PAGE |
---|
17 | * |
---|
18 | * 6.7.2 Asynchronous Read, P1003.1b-1993, p. 154 |
---|
19 | */ |
---|
20 | |
---|
21 | int aio_read( |
---|
22 | struct aiocb *aiocbp |
---|
23 | ) |
---|
24 | { |
---|
25 | return POSIX_NOT_IMPLEMENTED(); |
---|
26 | } |
---|
27 | |
---|
28 | /*PAGE |
---|
29 | * |
---|
30 | * 6.7.3 Asynchronous Write, P1003.1b-1993, p. 155 |
---|
31 | */ |
---|
32 | |
---|
33 | int aio_write( |
---|
34 | struct aiocb *aiocbp |
---|
35 | ) |
---|
36 | { |
---|
37 | return POSIX_NOT_IMPLEMENTED(); |
---|
38 | } |
---|
39 | |
---|
40 | /*PAGE |
---|
41 | * |
---|
42 | * 6.7.4 List Directed I/O, P1003.1b-1993, p. 158 |
---|
43 | */ |
---|
44 | |
---|
45 | int lio_listio( |
---|
46 | int mode, |
---|
47 | struct aiocb * const list[], |
---|
48 | int nent, |
---|
49 | struct sigevent *sig |
---|
50 | ) |
---|
51 | { |
---|
52 | return POSIX_NOT_IMPLEMENTED(); |
---|
53 | } |
---|
54 | |
---|
55 | /*PAGE |
---|
56 | * |
---|
57 | * 6.7.5 Retrieve Error of Asynchronous I/O Operation, P1003.1b-1993, p. 161 |
---|
58 | */ |
---|
59 | |
---|
60 | int aio_error( |
---|
61 | const struct aiocb *aiocbp |
---|
62 | ) |
---|
63 | { |
---|
64 | return POSIX_NOT_IMPLEMENTED(); |
---|
65 | } |
---|
66 | |
---|
67 | /*PAGE |
---|
68 | * |
---|
69 | * 6.7.6 Retrieve Return Status of Asynchronous I/O Operation, |
---|
70 | * P1003.1b-1993, p. 162 |
---|
71 | */ |
---|
72 | |
---|
73 | int aio_return( |
---|
74 | const struct aiocb *aiocbp |
---|
75 | ) |
---|
76 | { |
---|
77 | return POSIX_NOT_IMPLEMENTED(); |
---|
78 | } |
---|
79 | |
---|
80 | /*PAGE |
---|
81 | * |
---|
82 | * 6.7.7 Cancel Asynchronous I/O Operation, P1003.1b-1993, p. 163 |
---|
83 | */ |
---|
84 | |
---|
85 | int aio_cancel( |
---|
86 | int filedes, |
---|
87 | struct aiocb *aiocbp |
---|
88 | ) |
---|
89 | { |
---|
90 | return POSIX_NOT_IMPLEMENTED(); |
---|
91 | } |
---|
92 | |
---|
93 | /*PAGE |
---|
94 | * |
---|
95 | * 6.7.7 Wait for Asynchronous I/O Request, P1003.1b-1993, p. 164 |
---|
96 | */ |
---|
97 | |
---|
98 | int aio_suspend( |
---|
99 | struct aiocb * const list[], |
---|
100 | int nent, |
---|
101 | const struct timespec *timeout |
---|
102 | ) |
---|
103 | { |
---|
104 | return POSIX_NOT_IMPLEMENTED(); |
---|
105 | } |
---|
106 | |
---|
107 | /*PAGE |
---|
108 | * |
---|
109 | * 6.7.9 Asynchronous File Synchronization, P1003.1b-1993, p. 166 |
---|
110 | */ |
---|
111 | |
---|
112 | int aio_fsync( |
---|
113 | int op, |
---|
114 | struct aiocb *aiocbp |
---|
115 | ) |
---|
116 | { |
---|
117 | return POSIX_NOT_IMPLEMENTED(); |
---|
118 | } |
---|