xref: /third_party/musl/compat/time32/__xstat.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 <sys/stat.h>
3570af302Sopenharmony_ci
4570af302Sopenharmony_cistruct stat32;
5570af302Sopenharmony_ci
6570af302Sopenharmony_ciint __fxstat64(int ver, int fd, struct stat32 *buf)
7570af302Sopenharmony_ci{
8570af302Sopenharmony_ci	return __fstat_time32(fd, buf);
9570af302Sopenharmony_ci}
10570af302Sopenharmony_ci
11570af302Sopenharmony_ciint __fxstatat64(int ver, int fd, const char *path, struct stat32 *buf, int flag)
12570af302Sopenharmony_ci{
13570af302Sopenharmony_ci	return __fstatat_time32(fd, path, buf, flag);
14570af302Sopenharmony_ci}
15570af302Sopenharmony_ci
16570af302Sopenharmony_ciint __lxstat64(int ver, const char *path, struct stat32 *buf)
17570af302Sopenharmony_ci{
18570af302Sopenharmony_ci	return __lstat_time32(path, buf);
19570af302Sopenharmony_ci}
20570af302Sopenharmony_ci
21570af302Sopenharmony_ciint __xstat64(int ver, const char *path, struct stat32 *buf)
22570af302Sopenharmony_ci{
23570af302Sopenharmony_ci	return __stat_time32(path, buf);
24570af302Sopenharmony_ci}
25

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