diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2021-03-29 00:35:00 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-29 19:58:12 +0200 |
commit | 3c390d65e4fd634da0d3e13393ba5a335ea53cc4 (patch) | |
tree | 9e7c7f5b80ce48951e0fd780d5e97b66b9af4abb /Userland/Libraries/LibC/sys | |
parent | eab151c9945d2f3e57101b80ba8a365adb345160 (diff) | |
download | serenity-3c390d65e4fd634da0d3e13393ba5a335ea53cc4.zip |
LibC: Implement utimes function
Diffstat (limited to 'Userland/Libraries/LibC/sys')
-rw-r--r-- | Userland/Libraries/LibC/sys/time.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/sys/time.h b/Userland/Libraries/LibC/sys/time.h index 11faa3bdd4..e2ed678c8c 100644 --- a/Userland/Libraries/LibC/sys/time.h +++ b/Userland/Libraries/LibC/sys/time.h @@ -45,6 +45,7 @@ struct timezone { int adjtime(const struct timeval* delta, struct timeval* old_delta); int gettimeofday(struct timeval* __restrict__, void* __restrict__) __attribute__((nonnull(1))); int settimeofday(struct timeval* __restrict__, void* __restrict__) __attribute__((nonnull(1))); +int utimes(const char* pathname, const struct timeval[2]); static inline void timeradd(const struct timeval* a, const struct timeval* b, struct timeval* out) { |