diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-08-16 05:39:59 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-08-16 05:39:59 +0000 |
commit | e501d79f46c347203a912332b5892836054335a0 (patch) | |
tree | d911feb87477659938e6bf793623d9d1a5b47b2a /cpukit/posix/include/aio.h | |
parent | 2010-08-16 Alin Rus <alin.codejunkie@gmail.com> (diff) | |
download | rtems-e501d79f46c347203a912332b5892836054335a0.tar.bz2 |
2010-08-16 Alin Rus <alin.codejunkie@gmail.com>
* posix/include/aio.h: Extend struct aiocb.
* posix/include/rtems/posix/aio_misc.h: New.
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/include/aio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/posix/include/aio.h b/cpukit/posix/include/aio.h index 7472d8a54d..bc74126287 100644 --- a/cpukit/posix/include/aio.h +++ b/cpukit/posix/include/aio.h @@ -60,6 +60,7 @@ extern "C" { */ struct aiocb { + /* public */ int aio_fildes; /* File descriptor */ off_t aio_offset; /* File offset */ volatile void *aio_buf; /* Location of buffer */ @@ -67,6 +68,9 @@ struct aiocb { int aio_reqprio; /* Request priority offset */ struct sigevent aio_sigevent; /* Signal number and value */ int aio_lio_opcode; /* Operation to be performed */ + /* private */ + int error_code; /* Used for aio_error() */ + ssize_t return_value; /* Used for aio_return() */ }; /* |