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