mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-12 11:10:13 +00:00
Implement futimes() in terms of utimensat(). Now, utimensat() strays from POSIX compliance because it also accepts a combination of a file descriptor of a regular file and an empty path. utimensat() then uses this file descriptor instead of the path to update the last access and/or modification time of a file. That being said, its prior behavior remains intact. With the new behavior of utimensat(), `path` must point to a valid string; given a null pointer instead of an empty string, utimensat() sets `errno` to `EFAULT` and returns a failure. |
||
---|---|---|
.. | ||
arch | ||
auxv.cpp | ||
auxv.h | ||
cdefs.h | ||
file.cpp | ||
file.h | ||
internals.h | ||
ioctl.h | ||
ioctl_numbers.h | ||
kcov.h | ||
mman.cpp | ||
mman.h | ||
param.h | ||
poll.h | ||
prctl.cpp | ||
prctl.h | ||
prctl_numbers.h | ||
ptrace.cpp | ||
ptrace.h | ||
resource.h | ||
select.cpp | ||
select.h | ||
socket.cpp | ||
socket.h | ||
stat.h | ||
statvfs.cpp | ||
statvfs.h | ||
sysmacros.h | ||
time.h | ||
times.h | ||
ttydefaults.h | ||
types.h | ||
uio.cpp | ||
uio.h | ||
un.h | ||
utsname.h | ||
wait.cpp | ||
wait.h | ||
xattr.cpp | ||
xattr.h |