We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e47f340 commit 68bd82dCopy full SHA for 68bd82d
lib/std/posix.zig
@@ -1056,6 +1056,7 @@ pub fn ftruncate(fd: fd_t, length: u64) TruncateError!void {
1056
.SUCCESS => return,
1057
.INVALID_HANDLE => unreachable, // Handle not open for writing
1058
.ACCESS_DENIED => return error.AccessDenied,
1059
+ .USER_MAPPED_FILE => return error.AccessDenied,
1060
else => return windows.unexpectedStatus(rc),
1061
}
1062
0 commit comments