| ... | @@ -1169,8 +1169,7 @@ pub const WriteError = error{ | ... | @@ -1169,8 +1169,7 @@ pub const WriteError = error{ |
| 1169 | DeviceBusy, | 1169 | DeviceBusy, |
| 1170 | InvalidArgument, | 1170 | InvalidArgument, |
| 1171 | | 1171 | |
| 1172 | /// In WASI, this error may occur when the file descriptor does | 1172 | /// File descriptor does not hold the required rights to write to it. |
| 1173 | /// not hold the required rights to write to it. | | |
| 1174 | AccessDenied, | 1173 | AccessDenied, |
| 1175 | BrokenPipe, | 1174 | BrokenPipe, |
| 1176 | SystemResources, | 1175 | SystemResources, |
| ... | @@ -1269,6 +1268,7 @@ pub fn write(fd: fd_t, bytes: []const u8) WriteError!usize { | ... | @@ -1269,6 +1268,7 @@ pub fn write(fd: fd_t, bytes: []const u8) WriteError!usize { |
| 1269 | .FBIG => return error.FileTooBig, | 1268 | .FBIG => return error.FileTooBig, |
| 1270 | .IO => return error.InputOutput, | 1269 | .IO => return error.InputOutput, |
| 1271 | .NOSPC => return error.NoSpaceLeft, | 1270 | .NOSPC => return error.NoSpaceLeft, |
| | 1271 | .ACCES => return error.AccessDenied, |
| 1272 | .PERM => return error.AccessDenied, | 1272 | .PERM => return error.AccessDenied, |
| 1273 | .PIPE => return error.BrokenPipe, | 1273 | .PIPE => return error.BrokenPipe, |
| 1274 | .CONNRESET => return error.ConnectionResetByPeer, | 1274 | .CONNRESET => return error.ConnectionResetByPeer, |