diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-02-27 03:48:57 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-02-27 03:48:57 -0500 |
commit | eda8e9da763df3fd25fc6c78602d7c79296eae6b (patch) | |
tree | de92e9710de4cca70c106dc51b49a438ebaa1cb9 /src/stat/futimens.c | |
parent | b1b465c4382d6956e2973b70d644b0c20f530430 (diff) | |
download | musl-eda8e9da763df3fd25fc6c78602d7c79296eae6b.tar.gz musl-eda8e9da763df3fd25fc6c78602d7c79296eae6b.tar.xz musl-eda8e9da763df3fd25fc6c78602d7c79296eae6b.zip |
implement futimens and utimensat
Diffstat (limited to 'src/stat/futimens.c')
-rw-r--r-- | src/stat/futimens.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/stat/futimens.c b/src/stat/futimens.c new file mode 100644 index 00000000..360225b8 --- /dev/null +++ b/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); +} |