mirror of git://git.musl-libc.org/musl
12 lines
316 B
C
12 lines
316 B
C
#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);
|