mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-17 20:09:21 +08:00
e59d6a1469
definition of time_h.
35 lines
444 B
C
35 lines
444 B
C
/*
|
|
* $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 */
|