aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/sys/utime.h
blob: 07fa6c2a2bf50098e55d6784d3d5378db6f1690d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef _SYS_UTIME_H
#define _SYS_UTIME_H

/* This is a dummy <sys/utime.h> file, not customized for any
   particular system.  If there is a utime.h in libc/sys/SYSDIR/sys,
   it will override this one.  */

#ifdef __cplusplus
extern "C" {
#endif

#include <time.h> /* XXX Emscripten */

struct utimbuf 
{
  time_t actime;
  time_t modtime; 
};

int utime(const char *path, const struct utimbuf *times); /* XXX Emscripten */

#ifdef __cplusplus
};
#endif

#endif /* _SYS_UTIME_H */