Skip to content

Commit 2b97ff8

Browse files
estliberitasMyles Borins
authored andcommitted
doc: minor improvement in OS docs
Add links to `process.arch` and `process.platform`. PR-URL: #5006 Reviewed-By: Roman Klauke <romaaan.git@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
1 parent 9a5d58b commit 2b97ff8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

doc/api/os.markdown

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ system.
1414
## os.arch()
1515

1616
Returns the operating system CPU architecture. Possible values are `'x64'`,
17-
`'arm'` and `'ia32'`. Returns the value of `process.arch`.
17+
`'arm'` and `'ia32'`. Returns the value of [`process.arch`][].
1818

1919
## os.cpus()
2020

@@ -155,7 +155,7 @@ interfaces that have been assigned an address.
155155

156156
Returns the operating system platform. Possible values are `'darwin'`,
157157
`'freebsd'`, `'linux'`, `'sunos'` or `'win32'`. Returns the value of
158-
`process.platform`.
158+
[`process.platform`][].
159159

160160
## os.release()
161161

@@ -177,3 +177,6 @@ on OS X and `'Windows_NT'` on Windows.
177177
## os.uptime()
178178

179179
Returns the system uptime in seconds.
180+
181+
[`process.arch`]: process.html#process_process_arch
182+
[`process.platform`]: process.html#process_process_platform

0 commit comments

Comments
 (0)