2010-11-04 00:46:47 +03:00
|
|
|
/*
|
|
|
|
* Copyright 2002-2010 Haiku Inc. All Rights Reserved.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
2002-11-16 01:34:27 +03:00
|
|
|
#ifndef _UTIME_H_
|
|
|
|
#define _UTIME_H_
|
|
|
|
|
2004-07-06 03:20:43 +04:00
|
|
|
|
2002-11-16 01:34:27 +03:00
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
|
|
|
2004-07-06 03:20:43 +04:00
|
|
|
struct utimbuf {
|
2002-11-16 01:34:27 +03:00
|
|
|
time_t actime; /* access time */
|
|
|
|
time_t modtime; /* modification time */
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
extern
|
|
|
|
#ifdef __cplusplus
|
|
|
|
"C"
|
|
|
|
#endif
|
|
|
|
int utime(const char *path, const struct utimbuf *buffer);
|
|
|
|
|
|
|
|
#endif /* _UTIME_H_ */
|