projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
keep user-provided CFLAGS/LDFLAGS separate from those added by configure
[musl]
/
include
/
aio.h
diff --git
a/include/aio.h
b/include/aio.h
index
2edd5a2
..
19bc28a
100644
(file)
--- a/
include/aio.h
+++ b/
include/aio.h
@@
-5,6
+5,7
@@
extern "C" {
#endif
extern "C" {
#endif
+#include <features.h>
#include <signal.h>
#include <time.h>
#include <signal.h>
#include <time.h>
@@
-20,7
+21,7
@@
struct aiocb {
struct sigevent aio_sigevent;
void *__td;
int __lock[2];
struct sigevent aio_sigevent;
void *__td;
int __lock[2];
- int __err;
+
volatile
int __err;
ssize_t __ret;
off_t aio_offset;
void *__next, *__prev;
ssize_t __ret;
off_t aio_offset;
void *__next, *__prev;
@@
-46,7
+47,7
@@
int aio_cancel(int, struct aiocb *);
int aio_suspend(const struct aiocb *const [], int, const struct timespec *);
int aio_fsync(int, struct aiocb *);
int aio_suspend(const struct aiocb *const [], int, const struct timespec *);
int aio_fsync(int, struct aiocb *);
-int lio_listio(int, struct aiocb *
const [], int, struct sigevent *
);
+int lio_listio(int, struct aiocb *
__restrict const *__restrict, int, struct sigevent *__restrict
);
#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
#define aiocb64 aiocb
#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
#define aiocb64 aiocb