Skip to content

Commit edb3ffb

Browse files
committed
doc: fix os.version() Windows API
pRtlGetVersion is not a thing. This text was likely a result of copying the variable name used in libuv. This commit updates the documentation to reference the correct Windows API call. PR-URL: #32156 Refs: #31732 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Bartosz Sosnowski <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent ba68480 commit edb3ffb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/os.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ added: v13.11.0
399399
Returns a string identifying the kernel version.
400400

401401
On POSIX systems, the operating system release is determined by calling
402-
[uname(3)][]. On Windows, `pRtlGetVersion` is used, and if it is not available,
402+
[uname(3)][]. On Windows, `RtlGetVersion()` is used, and if it is not available,
403403
`GetVersionExW()` will be used. See
404404
https://en.wikipedia.org/wiki/Uname#Examples for more information.
405405

0 commit comments

Comments
 (0)