Skip to content

Commit e325ece

Browse files
estliberitasrvagg
authored andcommitted
doc: minor improvement in OS docs
Add links to `process.arch` and `process.platform`. PR-URL: #5006 Reviewed-By: Roman Klauke <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
1 parent 9e4f94b commit e325ece

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

doc/api/os.markdown

+5-2
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

@@ -159,7 +159,7 @@ interfaces that have been assigned an address.
159159

160160
Returns the operating system platform. Possible values are `'darwin'`,
161161
`'freebsd'`, `'linux'`, `'sunos'` or `'win32'`. Returns the value of
162-
`process.platform`.
162+
[`process.platform`][].
163163

164164
## os.release()
165165

@@ -181,3 +181,6 @@ on OS X and `'Windows_NT'` on Windows.
181181
## os.uptime()
182182

183183
Returns the system uptime in seconds.
184+
185+
[`process.arch`]: process.html#process_process_arch
186+
[`process.platform`]: process.html#process_process_platform

0 commit comments

Comments
 (0)