summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
Diffstat (limited to 'hurd')
-rw-r--r--hurd/fs.defs10
1 files changed, 10 insertions, 0 deletions
diff --git a/hurd/fs.defs b/hurd/fs.defs
index 14800d9a..1460131a 100644
--- a/hurd/fs.defs
+++ b/hurd/fs.defs
@@ -376,3 +376,13 @@ routine file_exec_paths (
intarray: intarray_t SCP;
deallocnames: mach_port_name_array_t SCP;
destroynames: mach_port_name_array_t SCP);
+
+/* Change access and modify times with nanosecond precision */
+/* If the nanoseconds value is UTIME_NOW then the time should be
+ set to the current time and the remainder of the time_value_t ignored.
+ If the nanoseconds value is UTIME_OMIT then the time is ignored. */
+routine file_utimens (
+ utimes_file: file_t;
+ RPT
+ new_atime: timespec_t;
+ new_mtime: timespec_t);