projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ 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