summaryrefslogtreecommitdiffstats
path: root/c/src/lib/include/sys/utime.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/include/sys/utime.h')
-rw-r--r--c/src/lib/include/sys/utime.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/c/src/lib/include/sys/utime.h b/c/src/lib/include/sys/utime.h
new file mode 100644
index 0000000000..3e9955e61f
--- /dev/null
+++ b/c/src/lib/include/sys/utime.h
@@ -0,0 +1,25 @@
+/*
+ * $Id$
+ */
+
+#ifndef __UTIME_h__
+#define __UTIME_h__
+
+/*
+ * 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
+);
+
+#endif
+/* end of include file */