aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/include/mips-linux-gnu/bits/timerfd.h
diff options
context:
space:
mode:
authorRyan Liptak <squeek502@hotmail.com>2020-06-26 15:49:31 -0700
committerRyan Liptak <squeek502@hotmail.com>2020-06-26 16:00:43 -0700
commit14c3c47fb7315e6199751082f9ef544972bb13e6 (patch)
treeb8113e001c2dccc327264923c107467b64cbba9a /lib/libc/include/mips-linux-gnu/bits/timerfd.h
parent0e3d74df8a8c06bcc0b1e4bff205f4ab8e4c6c13 (diff)
downloadzig-14c3c47fb7315e6199751082f9ef544972bb13e6.tar.gz
zig-14c3c47fb7315e6199751082f9ef544972bb13e6.zip
fs.deleteFile: Translate to error.IsDir when appropriate on POSIX systems
Linux deviates from POSIX and returns EISDIR while other POSIX systems return EPERM. To make all platforms consistent in their errors when calling deleteFile on a directory, we have to do a stat to translate EPERM (AccessDenied) to EISDIR (IsDir).
Diffstat (limited to 'lib/libc/include/mips-linux-gnu/bits/timerfd.h')
0 files changed, 0 insertions, 0 deletions