Trivial AIO-related changes
This commit is contained in:
parent
02444cfb2c
commit
a4d157bb2d
@ -125,7 +125,11 @@ struct aiocb
|
|||||||
FAR volatile void *aio_buf; /* Location of buffer */
|
FAR volatile void *aio_buf; /* Location of buffer */
|
||||||
off_t aio_offset; /* File offset */
|
off_t aio_offset; /* File offset */
|
||||||
size_t aio_nbytes; /* Length of transfer */
|
size_t aio_nbytes; /* Length of transfer */
|
||||||
|
#if CONFIG_NFILE_DESCRIPTORS > 127
|
||||||
int16_t aio_fildes; /* File descriptor (should be int) */
|
int16_t aio_fildes; /* File descriptor (should be int) */
|
||||||
|
#else
|
||||||
|
int8_t aio_fildes; /* File descriptor (should be int) */
|
||||||
|
#endif
|
||||||
int8_t aio_reqprio; /* Request priority offset (not used, should be int) */
|
int8_t aio_reqprio; /* Request priority offset (not used, should be int) */
|
||||||
uint8_t aio_lio_opcode; /* Operation to be performed (should be int) */
|
uint8_t aio_lio_opcode; /* Operation to be performed (should be int) */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user