aio.h 697 B

1234567891011121314151617181920212223242526
  1. #ifndef _AIO_H
  2. #include <rt/aio.h>
  3. #ifndef _ISOMAC
  4. /* Now define the internal interfaces. */
  5. extern void __aio_init (const struct aioinit *__init);
  6. /* Flag to signal we need to be compatible with glibc < 2.4 in
  7. lio_listio and we do not issue events for each individual list
  8. element. */
  9. #define LIO_NO_INDIVIDUAL_EVENT 128
  10. # if __TIMESIZE == 64
  11. # define __aio_suspend_time64 __aio_suspend
  12. # else
  13. extern int __aio_suspend_time64 (const struct aiocb *const list[], int nent,
  14. const struct __timespec64 *timeout);
  15. # if PTHREAD_IN_LIBC
  16. libc_hidden_proto (__aio_suspend_time64)
  17. # else
  18. librt_hidden_proto (__aio_suspend_time64)
  19. #endif
  20. # endif
  21. #endif
  22. #endif