summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/stat/futimens.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc-top-half/musl/src/stat/futimens.c')
-rw-r--r--libc-top-half/musl/src/stat/futimens.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/stat/futimens.c b/libc-top-half/musl/src/stat/futimens.c
new file mode 100644
index 0000000..360225b
--- /dev/null
+++ b/libc-top-half/musl/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);
+}