summaryrefslogtreecommitdiff
path: root/doc/api/os.md
diff options
context:
space:
mode:
authorEvan Lucas <evanlucas@me.com>2017-01-25 05:19:49 -0600
committerJames M Snell <jasnell@gmail.com>2017-01-27 13:55:07 -0800
commit4f1e235f2aaf6320b899f5a530903ed2c4c7163b (patch)
treeffba19c6591e45d0ac45f62a5a8722ebdaa82d0d /doc/api/os.md
parent7ad012dbb137ab5d5912815fa53f7ecce5601e90 (diff)
downloadandroid-node-v8-4f1e235f2aaf6320b899f5a530903ed2c4c7163b.tar.gz
android-node-v8-4f1e235f2aaf6320b899f5a530903ed2c4c7163b.tar.bz2
android-node-v8-4f1e235f2aaf6320b899f5a530903ed2c4c7163b.zip
doc: make os api doc more consistent
This adds a missing Returns to os.arch() as well as a missing added in version to os.constants. PR-URL: https://github.com/nodejs/node/pull/10994 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/os.md')
-rw-r--r--doc/api/os.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/api/os.md b/doc/api/os.md
index bfe20c1bef..15b84189c9 100644
--- a/doc/api/os.md
+++ b/doc/api/os.md
@@ -26,6 +26,8 @@ A string constant defining the operating system-specific end-of-line marker:
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*.
@@ -36,6 +38,9 @@ The current possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'mips'`,
Equivalent to [`process.arch`][].
## os.constants
+<!-- YAML
+added: v6.3.0
+-->
* {Object}