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: nodejs#32156 Refs: nodejs#31732 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
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

+1-1
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)