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