aio Reference

File
lib/posix/include/posix/aio.h
Date
Wednesday, June 25, 2014
Includes
  • <fcntl.h>
  • <signal.h>
  • <time.h>
  • <system/types/struct_aiocb.h>
  • <system/types/off_t.h>
  • <system/types/pthread_attr_t.h>
  • <system/types/size_t.h>
  • <system/types/ssize_t.h>
  • <system/types/struct_timespec.h>

Tasks

aio_cancel

int aio_cancel( int fildes, struct aiocb *aiocbp );

aio_error

int aio_error( const struct aiocb *aiocbp );

aio_fsync

int aio_fsync( int op, struct aiocb *aiocbp );

aio_read

int aio_read( struct aiocb *aiocbp );

aio_return

ssize_t aio_return( struct aiocb *aiocbp );

aio_suspend

int aio_suspend( const struct aiocb *const list[], int nent, const struct timespec *timeout );

aio_write

int aio_write( struct aiocb *aiocbp );

lio_listio

int lio_listio( int mode, struct aiocb *restrict const list[ restrict ], int nent, struct sigevent *restrict sig );

Macros

__XEOS_LIB_POSIX_AIO_H__

#define __XEOS_LIB_POSIX_AIO_H__

AIO_ALLDONE

#define AIO_ALLDONE 0x01

AIO_CANCELED

#define AIO_CANCELED 0x02

AIO_NOTCANCELED

#define AIO_NOTCANCELED 0x04

LIO_NOP

#define LIO_NOP 0x00

LIO_NOWAIT

#define LIO_NOWAIT 0x02

LIO_READ

#define LIO_READ 0x01

LIO_WAIT

#define LIO_WAIT 0x01

LIO_WRITE

#define LIO_WRITE 0x02