about summary refs log tree commit diff
path: root/include/utime.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/utime.h')
-rw-r--r--include/utime.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/utime.h b/include/utime.h
new file mode 100644
index 00000000..ec82e0f3
--- /dev/null
+++ b/include/utime.h
@@ -0,0 +1,24 @@
+#ifndef	_UTIME_H
+#define	_UTIME_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define __NEED_time_t
+
+#include <bits/alltypes.h>
+
+struct utimbuf
+{
+	time_t actime;
+	time_t modtime;
+};
+
+int utime (const char *, const struct utimbuf *);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif