1570af302Sopenharmony_ci#define _GNU_SOURCE 2570af302Sopenharmony_ci#include "time32.h" 3570af302Sopenharmony_ci#include <time.h> 4570af302Sopenharmony_ci#include <sys/time.h> 5570af302Sopenharmony_ci#include <sys/stat.h> 6570af302Sopenharmony_ci 7570af302Sopenharmony_ciint __lutimes_time32(const char *path, const struct timeval32 times32[2]) 8570af302Sopenharmony_ci{ 9570af302Sopenharmony_ci return lutimes(path, !times32 ? 0 : ((struct timeval[2]){ 10570af302Sopenharmony_ci {.tv_sec = times32[0].tv_sec,.tv_usec = times32[0].tv_usec}, 11570af302Sopenharmony_ci {.tv_sec = times32[1].tv_sec,.tv_usec = times32[1].tv_usec}})); 12570af302Sopenharmony_ci} 13