authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-01-20 21:08:44-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-01-20 21:08:44-08:00
log1110950528ac0bfe19d92a69d37b502a7465f4a6
treeb5b558f621516c470ea14d78d24114ca365bd298
parente4d570695777af643e375343a904a024250de98d

std.posix.WriteError: update AccessDenied docs

It can happen on POSIX too.

1 files changed, 1 insertions(+), 2 deletions(-)

lib/std/posix.zig+1-2
...@@ -1169,8 +1169,7 @@ pub const WriteError = error{...@@ -1169,8 +1169,7 @@ pub const WriteError = error{
1169 DeviceBusy,1169 DeviceBusy,
1170 InvalidArgument,1170 InvalidArgument,
11711171
1172 /// In WASI, this error may occur when the file descriptor does1172 /// 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,