about summary refs log tree commit diff
path: root/src/stat
diff options
context:
space:
mode:
Diffstat (limited to 'src/stat')
-rw-r--r--src/stat/futimesat.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/stat/futimesat.c b/src/stat/futimesat.c
new file mode 100644
index 00000000..0cc18545
--- /dev/null
+++ b/src/stat/futimesat.c
@@ -0,0 +1,9 @@
+#include <sys/time.h>
+#include "syscall.h"
+
+#ifdef SYS_futimesat
+int futimesat(int dirfd, const char *pathname, const struct timeval times[2])
+{
+	return syscall(SYS_futimesat, dirfd, pathname, times);
+}
+#endif