2024-08-09 17:01:41 +03:00
|
|
|
#include <utime.h>
|
2024-12-03 16:21:18 +02:00
|
|
|
#include <sys/stat.h>
|
|
|
|
#include <stdio.h>
|
2024-08-09 17:01:41 +03:00
|
|
|
|
2024-12-03 16:21:18 +02:00
|
|
|
int utime(const char* filename, const struct utimbuf* times)
|
2024-08-09 17:01:41 +03:00
|
|
|
{
|
2024-12-03 16:21:18 +02:00
|
|
|
fprintf(stddbg, "TODO: utime(\"%s\", %p)\n", filename, times);
|
|
|
|
|
|
|
|
struct stat st;
|
|
|
|
return stat(filename, &st);
|
2024-08-09 17:01:41 +03:00
|
|
|
}
|