Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2020-03-09 17:59:11 +0300
committercjihrig <cjihrig@gmail.com>2020-03-13 03:43:34 +0300
commitedb3ffb0034c3d5dbaf3eacc46171801ab630d7c (patch)
treef72e551f7c41105672a933e26b71bc02bed08417 /doc/api/os.md
parentba684805b6c0eded76e5cd89ee00328ac7a59365 (diff)
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>
Diffstat (limited to 'doc/api/os.md')
-rw-r--r--doc/api/os.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/os.md b/doc/api/os.md
index 0a1da4690cc..27a7c3d549f 100644
--- a/doc/api/os.md
+++ b/doc/api/os.md
@@ -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.