diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-09-09 01:07:38 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-09-09 01:07:38 -0400 |
commit | b4de6f93aed733b8fc8d103e5ced69ebe7d659e6 (patch) | |
tree | 33664a468c80b6b37a079d7d9bdbadf5adf4f93c /src/aio/aio_error.c | |
parent | 96cea94ad258be262ecf15b33d13cf775e59720d (diff) | |
download | musl-b4de6f93aed733b8fc8d103e5ced69ebe7d659e6.tar.gz |
implement POSIX asynchronous io
some features are not yet supported, and only minimal testing has been
performed. should be considered experimental at this point.
Diffstat (limited to 'src/aio/aio_error.c')
-rw-r--r-- | src/aio/aio_error.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/aio/aio_error.c b/src/aio/aio_error.c new file mode 100644 index 00000000..169a9a30 --- /dev/null +++ b/src/aio/aio_error.c @@ -0,0 +1,6 @@ +#include <aio.h> + +int aio_error(struct aiocb *cb) +{ + return cb->__err; +} |