std.posix: Fix errno 13 when writing to file
This commit is contained in:
committed by
Andrew Kelley
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,
|
||||
|
||||
Reference in New Issue
Block a user