diff --git a/userspace/libraries/LibC/utime.cpp b/userspace/libraries/LibC/utime.cpp index 9112603b..727dd942 100644 --- a/userspace/libraries/LibC/utime.cpp +++ b/userspace/libraries/LibC/utime.cpp @@ -1,8 +1,11 @@ -#include - #include +#include +#include -int utime(const char*, const struct utimbuf*) +int utime(const char* filename, const struct utimbuf* times) { - ASSERT_NOT_REACHED(); + fprintf(stddbg, "TODO: utime(\"%s\", %p)\n", filename, times); + + struct stat st; + return stat(filename, &st); }