OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [linux/] [aio.c] - Blame information for rev 816

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
/* libc/sys/linux/aio.c - asychronous I/O */
2
 
3
/* Copyright 2002, Red Hat Inc. */
4
 
5
/* Currently asynchronous I/O is not implemented. */
6
 
7
#define _GNU_SOURCE 1
8
 
9
#include <sys/types.h>
10
#include <aio.h>
11
#include <errno.h>
12
 
13
int
14
aio_cancel (int fd, struct aiocb *cb)
15
{
16
  errno = ENOSYS;
17
  return -1;
18
}
19
 
20
int
21
aio_error (const struct aiocb *cb)
22
{
23
  errno = ENOSYS;
24
  return -1;
25
}
26
 
27
int
28
aio_fsync (int op, struct aiocb *cb)
29
{
30
  errno = ENOSYS;
31
  return -1;
32
}
33
 
34
int
35
aio_read (struct aiocb *cb)
36
{
37
  errno = ENOSYS;
38
  return -1;
39
}
40
 
41
ssize_t
42
aio_return (struct aiocb *cb)
43
{
44
  errno = ENOSYS;
45
  return -1;
46
}
47
 
48
int
49
aio_suspend (const struct aiocb *const list[], int nent,
50
             const struct timespec *timeout)
51
{
52
  errno = ENOSYS;
53
  return -1;
54
}
55
 
56
int
57
aio_write (struct aiocb *cb)
58
{
59
  errno = ENOSYS;
60
  return -1;
61
}
62
 
63
int
64
lio_listio (int mode, struct aiocb * const list[], int nent,
65
            struct sigevent *sig)
66
{
67
  errno = ENOSYS;
68
  return -1;
69
}
70
 
71
#if !defined(_ELIX_LEVEL) || _ELIX_LEVEL >= 4
72
void
73
aio_init (const struct aioinit *INIT)
74
{
75
  errno = ENOSYS;
76
}
77
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.