source: trunk/libs/newlib/src/newlib/libc/sys/linux/aio64.c

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
11int
12aio_cancel64 (int fd, struct aiocb64 *cb)
13{
14  errno = ENOSYS;
15  return -1;
16}
17
18int
19aio_error64 (const struct aiocb64 *cb)
20{
21  errno = ENOSYS;
22  return -1;
23}
24
25int
26aio_fsync64 (int op, struct aiocb64 *cb)
27{
28  errno = ENOSYS;
29  return -1;
30}
31
32int
33aio_read64 (struct aiocb64 *cb)
34{
35  errno = ENOSYS;
36  return -1;
37}
38
39ssize_t
40aio_return64 (struct aiocb64 *cb)
41{
42  errno = ENOSYS;
43  return -1;
44}
45
46int
47aio_suspend64 (const struct aiocb64 *const list[], int nent,
48             const struct timespec *timeout)
49{
50  errno = ENOSYS;
51  return -1;
52}
53
54int
55aio_write64 (struct aiocb64 *cb)
56{
57  errno = ENOSYS;
58  return -1;
59}
60
61int
62lio_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.