mirror of
https://github.com/ziglang/zig.git
synced 2024-11-21 19:42:56 +00:00
Merge 8489d4fa12
into f845fa04a0
This commit is contained in:
commit
13472f5e07
@ -1817,6 +1817,7 @@ pub fn openatZ(dir_fd: fd_t, file_path: [*:0]const u8, flags: O, mode: mode_t) O
|
|||||||
.OPNOTSUPP => return error.FileLocksNotSupported,
|
.OPNOTSUPP => return error.FileLocksNotSupported,
|
||||||
.AGAIN => return error.WouldBlock,
|
.AGAIN => return error.WouldBlock,
|
||||||
.TXTBSY => return error.FileBusy,
|
.TXTBSY => return error.FileBusy,
|
||||||
|
.NXIO => return error.NoDevice,
|
||||||
.ILSEQ => |err| if (native_os == .wasi)
|
.ILSEQ => |err| if (native_os == .wasi)
|
||||||
return error.InvalidUtf8
|
return error.InvalidUtf8
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user