diff options
Diffstat (limited to 'cpukit/posix/include/aio.h')
-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() */ }; /* |