From eda8e9da763df3fd25fc6c78602d7c79296eae6b Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 27 Feb 2011 03:48:57 -0500 Subject: implement futimens and utimensat --- src/stat/utimensat.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/stat/utimensat.c (limited to 'src/stat/utimensat.c') diff --git a/src/stat/utimensat.c b/src/stat/utimensat.c new file mode 100644 index 00000000..b9b02adf --- /dev/null +++ b/src/stat/utimensat.c @@ -0,0 +1,7 @@ +#include +#include "syscall.h" + +int utimensat(int fd, const char *path, const struct timespec times[2], int flags) +{ + return syscall4(__NR_utimensat, fd, (long)path, (long)times, flags); +} -- cgit v1.2.3-60-g2f50