From 39d0797449908056b8e54d35bcf3cb68e09d1c39 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 6c1a6f3634e69a..ea4f40ba79e958 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() @@ -159,7 +159,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() @@ -181,3 +181,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