Skip to content

Commit

Permalink
doc: minor improvement in OS docs
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
estliberitas authored and Myles Borins committed Feb 18, 2016
1 parent 3915710 commit fa7d27f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions doc/api/os.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ system.
## os.arch()

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

## os.cpus()

Expand Down Expand Up @@ -155,7 +155,7 @@ interfaces that have been assigned an address.

Returns the operating system platform. Possible values are `'darwin'`,
`'freebsd'`, `'linux'`, `'sunos'` or `'win32'`. Returns the value of
`process.platform`.
[`process.platform`][].

## os.release()

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

Returns the system uptime in seconds.

[`process.arch`]: process.html#process_process_arch
[`process.platform`]: process.html#process_process_platform

0 comments on commit fa7d27f

Please sign in to comment.