summaryrefslogtreecommitdiff
path: root/libc/misc/time/utimes.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/time/utimes.c')
-rw-r--r--libc/misc/time/utimes.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/libc/misc/time/utimes.c b/libc/misc/time/utimes.c
deleted file mode 100644
index 86dff6bea..000000000
--- a/libc/misc/time/utimes.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <stdlib.h>
-#include <utime.h>
-#include <sys/time.h>
-
-int utimes (const char *file, const struct timeval tvp[2])
-{
- struct utimbuf buf, *times;
-
- if (tvp) {
- times = &buf;
- times->actime = tvp[0].tv_sec;
- times->modtime = tvp[1].tv_sec;
- }
- else
- times = NULL;
- return utime(file, times);
-}