feat: implement utime libc function, SYS_UTIME syscall, filesystem support (ext2 only)
This commit is contained in:
@@ -27,5 +27,6 @@
|
||||
|
||||
#define PATH_MAX 4096
|
||||
#define NAME_MAX 256
|
||||
#define OPEN_MAX 128
|
||||
|
||||
#endif /* _LIBC_LIMITS_H */
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user