xref: /third_party/musl/compat/time32/aio_suspend_time32.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/musl/compat/time32/
1570af302Sopenharmony_ci#include "time32.h"
2570af302Sopenharmony_ci#include <time.h>
3570af302Sopenharmony_ci#include <aio.h>
4570af302Sopenharmony_ci
5570af302Sopenharmony_ciint __aio_suspend_time32(const struct aiocb *const cbs[], int cnt, const struct timespec32 *ts32)
6570af302Sopenharmony_ci{
7570af302Sopenharmony_ci	return aio_suspend(cbs, cnt, ts32 ? (&(struct timespec){
8570af302Sopenharmony_ci		.tv_sec = ts32->tv_sec, .tv_nsec = ts32->tv_nsec}) : 0);
9570af302Sopenharmony_ci}
10570af302Sopenharmony_ci
11570af302Sopenharmony_ciweak_alias(aio_suspend, aio_suspend64);
12

Indexes created Thu Nov 07 10:32:03 CST 2024