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:
parent
7550017f97
commit
9a6bd85924
10 changed files with 146 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue