diff options
Diffstat (limited to 'PACE/pace/posix/aio.h')
-rw-r--r-- | PACE/pace/posix/aio.h | 71 |
1 files changed, 3 insertions, 68 deletions
diff --git a/PACE/pace/posix/aio.h b/PACE/pace/posix/aio.h index 249b9cdad13..75a11416cc7 100644 --- a/PACE/pace/posix/aio.h +++ b/PACE/pace/posix/aio.h @@ -13,8 +13,8 @@ * * ============================================================================ */ -#ifndef PACE_AIO_H -#define PACE_AIO_H +#ifndef PACE_AIO_H_POSIX +#define PACE_AIO_H_POSIX #include <aio.h> #include "pace/time.h" @@ -38,73 +38,8 @@ extern "C" { typedef struct aiocb pace_aiocb; #endif /* PACE_AIOCB */ - /** - PACE's implementation of the POSIX function aio_cancel. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), section 6.7.7. - */ - PACE_INLINE int pace_aio_cancel (int fildes, pace_aiocb * aiocb); - - /** - PACE's implementation of the POSIX function aio_error. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), section 6.7.5. - */ - PACE_INLINE int pace_aio_error (const pace_aiocb * aiocbp); - - /** - PACE's implementation of the POSIX function aio_fsync. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), section 6.7.9. - */ - PACE_INLINE int pace_aio_fsync (int op, pace_aiocb * aiocbp); - - /** - PACE's implementation of the POSIX function aio_read. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), section 6.7.2. - */ - PACE_INLINE int pace_aio_read (pace_aiocb * aiocbp); - - /** - PACE's implementation of the POSIX function aio_return. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), section 6.7.6. - */ - PACE_INLINE int pace_aio_return (pace_aiocb * aiocbp); - - /** - PACE's implementation of the POSIX function aio_suspend. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), section 6.7.8. - */ - PACE_INLINE int pace_aio_suspend (const pace_aiocb * const list[], - int nent, - const pace_timespec * timeout); - - /** - PACE's implementation of the POSIX function aio_write. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), section 6.7.3. - */ - PACE_INLINE int pace_aio_write (pace_aiocb * aiocbp); - - /** - PACE's implementation of the POSIX function lio_listio. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), section 6.7.4. - */ - PACE_INLINE int pace_lio_listio (int mode, - pace_aiocb * const list[], - int nent, - pace_sigevent * sig); - #if defined (PACE_HAS_CPLUSPLUS) } #endif /* PACE_HAS_CPLUSPLUS */ -#if defined (PACE_HAS_INLINE) -# include "pace/posix/aio.inl" -#endif /* PACE_HAS_INLINE */ - -#endif /* PACE_AIO_H */ +#endif /* PACE_AIO_H_POSIX */ |