add obsolete futimesat()
[musl] / src / stat / futimesat.c
diff --git a/src/stat/futimesat.c b/src/stat/futimesat.c
new file mode 100644 (file)
index 0000000..0cc1854
--- /dev/null
@@ -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