summaryrefslogtreecommitdiff
path: root/doc/api/os.md
diff options
context:
space:
mode:
authorGibson Fahnestock <gibfahn@gmail.com>2017-12-28 13:29:36 +0200
committerGibson Fahnestock <gibfahn@gmail.com>2018-01-03 23:31:34 +0000
commitecf6e79362faad747f50405d7f36a5d5006c3e97 (patch)
tree17e2b88473f8b8be24242b8c48e4c2f826009b46 /doc/api/os.md
parent2f6d1001c82537a84c81bdf7af629f55eaefd11c (diff)
downloadandroid-node-v8-ecf6e79362faad747f50405d7f36a5d5006c3e97.tar.gz
android-node-v8-ecf6e79362faad747f50405d7f36a5d5006c3e97.tar.bz2
android-node-v8-ecf6e79362faad747f50405d7f36a5d5006c3e97.zip
doc: remove x86 from os.arch() options
It is not possible for `process.arch` (which comes from V8's `target_arch`) to be `x86`. Also updates `process.arch` to have the same information. PR-URL: https://github.com/nodejs/node/pull/17899 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Diffstat (limited to 'doc/api/os.md')
-rw-r--r--doc/api/os.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/api/os.md b/doc/api/os.md
index e77238021c..bb25c3f6cc 100644
--- a/doc/api/os.md
+++ b/doc/api/os.md
@@ -31,11 +31,10 @@ added: v0.5.0
* Returns: {string}
The `os.arch()` method returns a string identifying the operating system CPU
-architecture *for which the Node.js binary was compiled*.
+architecture for which the Node.js binary was compiled.
The current possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'mips'`,
-`'mipsel'`, `'ppc'`, `'ppc64'`, `'s390'`, `'s390x'`, `'x32'`, `'x64'`, and
-`'x86'`.
+`'mipsel'`, `'ppc'`, `'ppc64'`, `'s390'`, `'s390x'`, `'x32'`, and `'x64'`.
Equivalent to [`process.arch`][].