summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/aio.c
blob: 3deb45767664ab4397b224e77ee692e2170a2dcd (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
/*
 *  $Id$
 */

#include <aio.h>

#include <rtems/system.h>
#include <rtems/seterr.h>

int POSIX_NOT_IMPLEMENTED();

/*PAGE
 *
 *  6.7.2 Asynchronous Read, P1003.1b-1993, p. 154
 */

int aio_read(
  struct aiocb  *aiocbp
)
{
  return POSIX_NOT_IMPLEMENTED();
}

/*PAGE
 *
 *  6.7.3 Asynchronous Write, P1003.1b-1993, p. 155
 */

int aio_write(
  struct aiocb  *aiocbp
)
{
  return POSIX_NOT_IMPLEMENTED();
}

/*PAGE
 *
 *  6.7.4 List Directed I/O, P1003.1b-1993, p. 158
 */

int lio_listio(
  int                    mode,
  struct aiocb  * const  list[],
  int                    nent,
  struct sigevent       *sig
)
{
  return POSIX_NOT_IMPLEMENTED();
}

/*PAGE
 *
 *  6.7.5 Retrieve Error of Asynchronous I/O Operation, P1003.1b-1993, p. 161
 */

int aio_error(
  const struct aiocb  *aiocbp
)
{
  return POSIX_NOT_IMPLEMENTED();
}

/*PAGE
 *
 *  6.7.6 Retrieve Return Status of Asynchronous I/O Operation, 
 *        P1003.1b-1993, p. 162
 */

int aio_return(
  const struct aiocb  *aiocbp
)
{
  return POSIX_NOT_IMPLEMENTED();
}

/*PAGE
 *
 *  6.7.7 Cancel Asynchronous I/O Operation, P1003.1b-1993, p. 163
 */

int aio_cancel(
  int            filedes,
  struct aiocb  *aiocbp
)
{
  return POSIX_NOT_IMPLEMENTED();
}

/*PAGE
 *
 *  6.7.7 Wait for Asynchronous I/O Request, P1003.1b-1993, p. 164
 */

int aio_suspend(
  struct aiocb  * const   list[],
  int                     nent,
  const struct timespec  *timeout
)
{
  return POSIX_NOT_IMPLEMENTED();
}

/*PAGE
 *
 *  6.7.9 Asynchronous File Synchronization, P1003.1b-1993, p. 166
 */

int aio_fsync(
  int            op,
  struct aiocb  *aiocbp
)
{
  return POSIX_NOT_IMPLEMENTED();
}