1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 13:17:34 +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:
Ariel Don 2022-05-02 15:26:10 -05:00 committed by Andreas Kling
parent 7550017f97
commit 9a6bd85924
10 changed files with 146 additions and 0 deletions

View file

@ -8,6 +8,7 @@
#pragma once
#include <Kernel/API/POSIX/fcntl.h>
#include <Kernel/API/POSIX/sys/stat.h>
__BEGIN_DECLS
@ -29,4 +30,6 @@ int inode_watcher_remove_watch(int fd, int wd);
int posix_fadvise(int fd, off_t offset, off_t len, int advice);
int utimensat(int dirfd, char const* path, struct timespec const times[2], int flag);
__END_DECLS