diff --git a/doc/api/os.md b/doc/api/os.md index b7eccda6786897..baa98406e4f657 100644 --- a/doc/api/os.md +++ b/doc/api/os.md @@ -11,7 +11,7 @@ properties. It can be accessed using: const os = require('os'); ``` -## os.EOL +## `os.EOL` @@ -23,7 +23,7 @@ The operating system-specific end-of-line marker. * `\n` on POSIX * `\r\n` on Windows -## os.arch() +## `os.arch()` @@ -36,7 +36,7 @@ compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'mips'`, The return value is equivalent to [`process.arch`][]. -## os.constants +## `os.constants` @@ -47,7 +47,7 @@ Contains commonly used operating system-specific constants for error codes, process signals, and so on. The specific constants defined are described in [OS Constants](#os_os_constants_1). -## os.cpus() +## `os.cpus()` @@ -120,7 +120,7 @@ The properties included on each object include: `nice` values are POSIX-only. On Windows, the `nice` values of all processors are always 0. -## os.endianness() +## `os.endianness()` @@ -132,7 +132,7 @@ binary was compiled. Possible values are `'BE'` for big endian and `'LE'` for little endian. -## os.freemem() +## `os.freemem()` @@ -141,7 +141,7 @@ added: v0.3.3 Returns the amount of free system memory in bytes as an integer. -## os.getPriority(\[pid\]) +## `os.getPriority([pid])` @@ -153,7 +153,7 @@ added: v10.10.0 Returns the scheduling priority for the process specified by `pid`. If `pid` is not provided or is `0`, the priority of the current process is returned. -## os.homedir() +## `os.homedir()` @@ -168,7 +168,7 @@ uses the [effective UID][EUID] to look up the user's home directory. On Windows, it uses the `USERPROFILE` environment variable if defined. Otherwise it uses the path to the profile directory of the current user. -## os.hostname() +## `os.hostname()` @@ -177,7 +177,7 @@ added: v0.3.3 Returns the hostname of the operating system as a string. -## os.loadavg() +## `os.loadavg()` @@ -192,7 +192,7 @@ system and expressed as a fractional number. The load average is a Unix-specific concept. On Windows, the return value is always `[0, 0, 0]`. -## os.networkInterfaces() +## `os.networkInterfaces()` @@ -263,7 +263,7 @@ The properties available on the assigned network address object include: } ``` -## os.platform() +## `os.platform()` @@ -279,7 +279,7 @@ The return value is equivalent to [`process.platform`][]. The value `'android'` may also be returned if Node.js is built on the Android operating system. [Android support is experimental][Android building]. -## os.release() +## `os.release()` @@ -292,7 +292,7 @@ On POSIX systems, the operating system release is determined by calling [uname(3)][]. On Windows, `GetVersionExW()` is used. See https://en.wikipedia.org/wiki/Uname#Examples for more information. -## os.setPriority(\[pid, \]priority) +## `os.setPriority([pid, ]priority)` @@ -315,7 +315,7 @@ On Windows, setting priority to `PRIORITY_HIGHEST` requires elevated user privileges. Otherwise the set priority will be silently reduced to `PRIORITY_HIGH`. -## os.tmpdir() +## `os.tmpdir()` @@ -339,7 +339,7 @@ added: v0.3.3 Returns the total amount of system memory in bytes as an integer. -## os.type() +## `os.type()` @@ -352,7 +352,7 @@ returns `'Linux'` on Linux, `'Darwin'` on macOS, and `'Windows_NT'` on Windows. See https://en.wikipedia.org/wiki/Uname#Examples for additional information about the output of running [uname(3)][] on various operating systems. -## os.uptime() +## `os.uptime()`