1 2 3 4 5 6 7 8 9 10 11
#include "time32.h" #include <time.h> #include <aio.h> int __aio_suspend_time32(const struct aiocb *const cbs[], int cnt, const struct timespec32 *ts32) { return aio_suspend(cbs, cnt, ts32 ? (&(struct timespec){ .tv_sec = ts32->tv_sec, .tv_nsec = ts32->tv_nsec}) : 0); } weak_alias(aio_suspend, aio_suspend64);