mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
Kernel+LibC+VFS: Implement utimensat(3)
Create POSIX utimensat() library call and corresponding system call to update file access and modification times.
This commit is contained in:
parent
7550017f97
commit
9a6bd85924
Notes:
sideshowbarker
2024-07-17 12:02:22 +09:00
Author: https://github.com/arieldon 🔰
Commit: 9a6bd85924
Pull-request: https://github.com/SerenityOS/serenity/pull/14027
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
10 changed files with 146 additions and 0 deletions
|
@ -70,6 +70,9 @@ struct stat {
|
|||
#define st_mtime st_mtim.tv_sec
|
||||
#define st_ctime st_ctim.tv_sec
|
||||
|
||||
#define UTIME_OMIT -1
|
||||
#define UTIME_NOW -2
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue