summaryrefslogtreecommitdiff
path: root/include/aio.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-09-13 15:39:58 -0400
committerRich Felker <dalias@aerifal.cx>2011-09-13 15:39:58 -0400
commitfd408d27a079ad4ef1b283a0c77d781789c28763 (patch)
treedebbd279d3114a4b1344febe2d0ea89b71e35459 /include/aio.h
parent0f1ef81462f3533c52a0b030b4bfe87f7f200dcc (diff)
downloadmusl-fd408d27a079ad4ef1b283a0c77d781789c28763.tar.gz
fix prototypes for aio_read and aio_write
Diffstat (limited to 'include/aio.h')
-rw-r--r--include/aio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/aio.h b/include/aio.h
index 893c0e9e..c0dab9c5 100644
--- a/include/aio.h
+++ b/include/aio.h
@@ -41,8 +41,8 @@ struct aiocb {
#define LIO_WAIT 0
#define LIO_NOWAIT 1
-int aio_read(struct aiocb *);
-int aio_write(struct aiocb *);
+ssize_t aio_read(struct aiocb *);
+ssize_t aio_write(struct aiocb *);
int aio_error(struct aiocb *);
ssize_t aio_return(struct aiocb *);
int aio_cancel(int, struct aiocb *);