From fa7d27fe25a537f10a8dfa94182e198966988707 Mon Sep 17 00:00:00 2001 From: Alexander Makarenko Date: Sun, 31 Jan 2016 17:38:04 +0300 Subject: [PATCH] doc: minor improvement in OS docs Add links to `process.arch` and `process.platform`. PR-URL: https://github.com/nodejs/node/pull/5006 Reviewed-By: Roman Klauke Reviewed-By: James M Snell Reviewed-By: Roman Reiss --- doc/api/os.markdown | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/api/os.markdown b/doc/api/os.markdown index bef2c34f6a4915..8c0c06e21db1b3 100644 --- a/doc/api/os.markdown +++ b/doc/api/os.markdown @@ -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() @@ -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() @@ -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