mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 08:14:48 +00:00
add missing EBADF error code for openat
This commit is contained in:
parent
6461b95163
commit
5042a47682
@ -1244,6 +1244,7 @@ pub fn openatZ(dir_fd: fd_t, file_path: [*:0]const u8, flags: u32, mode: mode_t)
|
||||
|
||||
EFAULT => unreachable,
|
||||
EINVAL => unreachable,
|
||||
EBADF => unreachable,
|
||||
EACCES => return error.AccessDenied,
|
||||
EFBIG => return error.FileTooBig,
|
||||
EOVERFLOW => return error.FileTooBig,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user