about summary refs log tree commit diff
path: root/src/stat/futimens.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stat/futimens.c')
-rw-r--r--src/stat/futimens.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/stat/futimens.c b/src/stat/futimens.c
new file mode 100644
index 00000000..360225b8
--- /dev/null
+++ b/src/stat/futimens.c
@@ -0,0 +1,6 @@
+#include <sys/stat.h>
+
+int futimens(int fd, const struct timespec times[2])
+{
+	return utimensat(fd, 0, times, 0);
+}