mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
std.posix: Fix errno 13 when writing to file
This commit is contained in:
parent
160445ef31
commit
e4d5706957
@ -1269,6 +1269,7 @@ pub fn write(fd: fd_t, bytes: []const u8) WriteError!usize {
|
||||
.FBIG => return error.FileTooBig,
|
||||
.IO => return error.InputOutput,
|
||||
.NOSPC => return error.NoSpaceLeft,
|
||||
.ACCES => return error.AccessDenied,
|
||||
.PERM => return error.AccessDenied,
|
||||
.PIPE => return error.BrokenPipe,
|
||||
.CONNRESET => return error.ConnectionResetByPeer,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user