std.posix.WriteError: update AccessDenied docs

It can happen on POSIX too.
This commit is contained in:
Andrew Kelley
2025-01-20 21:08:44 -08:00
parent e4d5706957
commit 1110950528

View File

@@ -1169,8 +1169,7 @@ pub const WriteError = error{
DeviceBusy,
InvalidArgument,
/// In WASI, this error may occur when the file descriptor does
/// not hold the required rights to write to it.
/// File descriptor does not hold the required rights to write to it.
AccessDenied,
BrokenPipe,
SystemResources,