summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/rtems/sys/utime.h
blob: 561136bb4ffaafb95221e38623756635683e7594 (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
27
28
29
30
31
32
33
34
/*
 *  $Id$
 */

#ifndef __UTIME_h__
#define __UTIME_h__

#include <sys/types.h>

#ifdef __cplusplus
extern "C" {
#endif

/*
 *  POSIX 1003.1b 5.6.6 Set File Access and Modification Times
 */

struct utimbuf {
  time_t  actime;   /* Access time */
  time_t  modtime;  /* Modification time */
};

/* Functions */

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

#ifdef __cplusplus
};
#endif

#endif /* _SYS_UTIME_H */