@@ -11,7 +11,7 @@ properties. It can be accessed using: |
11 | 11 | const os = require('os'); |
12 | 12 | ``` |
13 | 13 |
|
14 | | -## os.EOL |
| 14 | +## `os.EOL` |
15 | 15 | <!-- YAML |
16 | 16 | added: v0.7.8 |
17 | 17 | --> |
@@ -23,7 +23,7 @@ The operating system-specific end-of-line marker. |
23 | 23 | * `\n` on POSIX |
24 | 24 | * `\r\n` on Windows |
25 | 25 |
|
26 | | -## os.arch() |
| 26 | +## `os.arch()` |
27 | 27 | <!-- YAML |
28 | 28 | added: v0.5.0 |
29 | 29 | --> |
@@ -36,7 +36,7 @@ compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'mips'`, |
36 | 36 |
|
37 | 37 | The return value is equivalent to [`process.arch`][]. |
38 | 38 |
|
39 | | -## os.constants |
| 39 | +## `os.constants` |
40 | 40 | <!-- YAML |
41 | 41 | added: v6.3.0 |
42 | 42 | --> |
@@ -47,7 +47,7 @@ Contains commonly used operating system-specific constants for error codes, |
47 | 47 | process signals, and so on. The specific constants defined are described in |
48 | 48 | [OS Constants](#os_os_constants_1). |
49 | 49 |
|
50 | | -## os.cpus() |
| 50 | +## `os.cpus()` |
51 | 51 | <!-- YAML |
52 | 52 | added: v0.3.3 |
53 | 53 | --> |
@@ -120,7 +120,7 @@ The properties included on each object include: |
120 | 120 | `nice` values are POSIX-only. On Windows, the `nice` values of all processors |
121 | 121 | are always 0. |
122 | 122 |
|
123 | | -## os.endianness() |
| 123 | +## `os.endianness()` |
124 | 124 | <!-- YAML |
125 | 125 | added: v0.9.4 |
126 | 126 | --> |
@@ -132,7 +132,7 @@ binary was compiled. |
132 | 132 |
|
133 | 133 | Possible values are `'BE'` for big endian and `'LE'` for little endian. |
134 | 134 |
|
135 | | -## os.freemem() |
| 135 | +## `os.freemem()` |
136 | 136 | <!-- YAML |
137 | 137 | added: v0.3.3 |
138 | 138 | --> |
@@ -141,7 +141,7 @@ added: v0.3.3 |
141 | 141 |
|
142 | 142 | Returns the amount of free system memory in bytes as an integer. |
143 | 143 |
|
144 | | -## os.getPriority(\[pid\]) |
| 144 | +## `os.getPriority([pid])` |
145 | 145 | <!-- YAML |
146 | 146 | added: v10.10.0 |
147 | 147 | --> |
@@ -153,7 +153,7 @@ added: v10.10.0 |
153 | 153 | Returns the scheduling priority for the process specified by `pid`. If `pid` is |
154 | 154 | not provided or is `0`, the priority of the current process is returned. |
155 | 155 |
|
156 | | -## os.homedir() |
| 156 | +## `os.homedir()` |
157 | 157 | <!-- YAML |
158 | 158 | added: v2.3.0 |
159 | 159 | --> |
@@ -168,7 +168,7 @@ uses the [effective UID][EUID] to look up the user's home directory. |
168 | 168 | On Windows, it uses the `USERPROFILE` environment variable if defined. |
169 | 169 | Otherwise it uses the path to the profile directory of the current user. |
170 | 170 |
|
171 | | -## os.hostname() |
| 171 | +## `os.hostname()` |
172 | 172 | <!-- YAML |
173 | 173 | added: v0.3.3 |
174 | 174 | --> |
@@ -177,7 +177,7 @@ added: v0.3.3 |
177 | 177 |
|
178 | 178 | Returns the hostname of the operating system as a string. |
179 | 179 |
|
180 | | -## os.loadavg() |
| 180 | +## `os.loadavg()` |
181 | 181 | <!-- YAML |
182 | 182 | added: v0.3.3 |
183 | 183 | --> |
@@ -192,7 +192,7 @@ system and expressed as a fractional number. |
192 | 192 | The load average is a Unix-specific concept. On Windows, the return value is |
193 | 193 | always `[0, 0, 0]`. |
194 | 194 |
|
195 | | -## os.networkInterfaces() |
| 195 | +## `os.networkInterfaces()` |
196 | 196 | <!-- YAML |
197 | 197 | added: v0.6.0 |
198 | 198 | --> |
@@ -263,7 +263,7 @@ The properties available on the assigned network address object include: |
263 | 263 | } |
264 | 264 | ``` |
265 | 265 |
|
266 | | -## os.platform() |
| 266 | +## `os.platform()` |
267 | 267 | <!-- YAML |
268 | 268 | added: v0.5.0 |
269 | 269 | --> |
@@ -279,7 +279,7 @@ The return value is equivalent to [`process.platform`][]. |
279 | 279 | The value `'android'` may also be returned if Node.js is built on the Android |
280 | 280 | operating system. [Android support is experimental][Android building]. |
281 | 281 |
|
282 | | -## os.release() |
| 282 | +## `os.release()` |
283 | 283 | <!-- YAML |
284 | 284 | added: v0.3.3 |
285 | 285 | --> |
@@ -292,7 +292,7 @@ On POSIX systems, the operating system release is determined by calling |
292 | 292 | [uname(3)][]. On Windows, `GetVersionExW()` is used. See |
293 | 293 | https://en.wikipedia.org/wiki/Uname#Examples for more information. |
294 | 294 |
|
295 | | -## os.setPriority(\[pid, \]priority) |
| 295 | +## `os.setPriority([pid, ]priority)` |
296 | 296 | <!-- YAML |
297 | 297 | added: v10.10.0 |
298 | 298 | --> |
@@ -315,7 +315,7 @@ On Windows, setting priority to `PRIORITY_HIGHEST` requires elevated user |
315 | 315 | privileges. Otherwise the set priority will be silently reduced to |
316 | 316 | `PRIORITY_HIGH`. |
317 | 317 |
|
318 | | -## os.tmpdir() |
| 318 | +## `os.tmpdir()` |
319 | 319 | <!-- YAML |
320 | 320 | added: v0.9.9 |
321 | 321 | changes: |
@@ -330,7 +330,7 @@ changes: |
330 | 330 | Returns the operating system's default directory for temporary files as a |
331 | 331 | string. |
332 | 332 |
|
333 | | -## os.totalmem() |
| 333 | +## `os.totalmem()` |
334 | 334 | <!-- YAML |
335 | 335 | added: v0.3.3 |
336 | 336 | --> |
@@ -339,7 +339,7 @@ added: v0.3.3 |
339 | 339 |
|
340 | 340 | Returns the total amount of system memory in bytes as an integer. |
341 | 341 |
|
342 | | -## os.type() |
| 342 | +## `os.type()` |
343 | 343 | <!-- YAML |
344 | 344 | added: v0.3.3 |
345 | 345 | --> |
@@ -352,7 +352,7 @@ returns `'Linux'` on Linux, `'Darwin'` on macOS, and `'Windows_NT'` on Windows. |
352 | 352 | See https://en.wikipedia.org/wiki/Uname#Examples for additional information |
353 | 353 | about the output of running [uname(3)][] on various operating systems. |
354 | 354 |
|
355 | | -## os.uptime() |
| 355 | +## `os.uptime()` |
356 | 356 | <!-- YAML |
357 | 357 | added: v0.3.3 |
358 | 358 | changes: |
@@ -366,7 +366,7 @@ changes: |
366 | 366 |
|
367 | 367 | Returns the system uptime in number of seconds. |
368 | 368 |
|
369 | | -## os.userInfo(\[options\]) |
| 369 | +## `os.userInfo([options])` |
370 | 370 | <!-- YAML |
371 | 371 | added: v6.0.0 |
372 | 372 | --> |
|