Last change
on this file was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
949 bytes
|
Line | |
---|
1 | /* libc/sys/linux/aio64.c - asychronous I/O */ |
---|
2 | |
---|
3 | /* Copyright 2002, Red Hat Inc. */ |
---|
4 | |
---|
5 | /* Currently asynchronous I/O is not implemented. */ |
---|
6 | |
---|
7 | #include <sys/types.h> |
---|
8 | #include <aio.h> |
---|
9 | #include <errno.h> |
---|
10 | |
---|
11 | int |
---|
12 | aio_cancel64 (int fd, struct aiocb64 *cb) |
---|
13 | { |
---|
14 | errno = ENOSYS; |
---|
15 | return -1; |
---|
16 | } |
---|
17 | |
---|
18 | int |
---|
19 | aio_error64 (const struct aiocb64 *cb) |
---|
20 | { |
---|
21 | errno = ENOSYS; |
---|
22 | return -1; |
---|
23 | } |
---|
24 | |
---|
25 | int |
---|
26 | aio_fsync64 (int op, struct aiocb64 *cb) |
---|
27 | { |
---|
28 | errno = ENOSYS; |
---|
29 | return -1; |
---|
30 | } |
---|
31 | |
---|
32 | int |
---|
33 | aio_read64 (struct aiocb64 *cb) |
---|
34 | { |
---|
35 | errno = ENOSYS; |
---|
36 | return -1; |
---|
37 | } |
---|
38 | |
---|
39 | ssize_t |
---|
40 | aio_return64 (struct aiocb64 *cb) |
---|
41 | { |
---|
42 | errno = ENOSYS; |
---|
43 | return -1; |
---|
44 | } |
---|
45 | |
---|
46 | int |
---|
47 | aio_suspend64 (const struct aiocb64 *const list[], int nent, |
---|
48 | const struct timespec *timeout) |
---|
49 | { |
---|
50 | errno = ENOSYS; |
---|
51 | return -1; |
---|
52 | } |
---|
53 | |
---|
54 | int |
---|
55 | aio_write64 (struct aiocb64 *cb) |
---|
56 | { |
---|
57 | errno = ENOSYS; |
---|
58 | return -1; |
---|
59 | } |
---|
60 | |
---|
61 | int |
---|
62 | lio_listio64 (int mode, struct aiocb64 * const list[], int nent, |
---|
63 | struct sigevent *sig) |
---|
64 | { |
---|
65 | errno = ENOSYS; |
---|
66 | return -1; |
---|
67 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.