feat: implement utime libc function, SYS_UTIME syscall, filesystem support (ext2 only)

This commit is contained in:
2026-08-09 11:16:59 +02:00
parent 771c3a5a98
commit 1c498ffa6a
15 changed files with 158 additions and 30 deletions
+1
View File
@@ -27,5 +27,6 @@
#define PATH_MAX 4096
#define NAME_MAX 256
#define OPEN_MAX 128
#endif /* _LIBC_LIMITS_H */
+1 -2
View File
@@ -14,8 +14,7 @@ struct utimbuf {
time_t modtime;
};
/* Accepted for POSIX compatibility; the Montauk VFS does not support
setting file times. */
/* Set access and modification times. Currently supported on ext2. */
int utime(const char *path, const struct utimbuf *times);
#ifdef __cplusplus