mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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: https://github.com/nodejs/node/pull/32156 Refs: https://github.com/nodejs/node/pull/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>
This commit is contained in:
@@ -399,7 +399,7 @@ added: v13.11.0
|
||||
Returns a string identifying the kernel version.
|
||||
|
||||
On POSIX systems, the operating system release is determined by calling
|
||||
[uname(3)][]. On Windows, `pRtlGetVersion` is used, and if it is not available,
|
||||
[uname(3)][]. On Windows, `RtlGetVersion()` is used, and if it is not available,
|
||||
`GetVersionExW()` will be used. See
|
||||
https://en.wikipedia.org/wiki/Uname#Examples for more information.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user