From 2935bff6563def3584677544a4fed09dc5bebc8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 15 Nov 2002 22:34:27 +0000 Subject: [PATCH] Added utime.h. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1951 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/utime.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 headers/posix/utime.h diff --git a/headers/posix/utime.h b/headers/posix/utime.h new file mode 100644 index 0000000000..46be7dd8c4 --- /dev/null +++ b/headers/posix/utime.h @@ -0,0 +1,23 @@ +#ifndef _UTIME_H_ +#define _UTIME_H_ +/* +** Distributed under the terms of the OpenBeOS License. +*/ + +#include + + +struct utimbuf +{ + 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_ */