Skip to content

Commit ae111c2

Browse files
TrottMylesBorins
authored andcommitted
doc: use consistent terminology in process doc
`process.md` uses `POSIX` in most places, but `Unix` (and in one case `Linux`) in a handful of cases where `POSIX` is appropriate. Change those instances to `POSIX`. PR-URL: #15321 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 48943e9 commit ae111c2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/api/process.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1588,10 +1588,10 @@ important ways:
15881588
2. They cannot be closed ([`end()`][] will throw).
15891589
3. They will never emit the [`'finish'`][] event.
15901590
4. Writes may be synchronous depending on the what the stream is connected to
1591-
and whether the system is Windows or Unix:
1592-
- Files: *synchronous* on Windows and Linux
1593-
- TTYs (Terminals): *asynchronous* on Windows, *synchronous* on Unix
1594-
- Pipes (and sockets): *synchronous* on Windows, *asynchronous* on Unix
1591+
and whether the system is Windows or POSIX:
1592+
- Files: *synchronous* on Windows and POSIX
1593+
- TTYs (Terminals): *asynchronous* on Windows, *synchronous* on POSIX
1594+
- Pipes (and sockets): *synchronous* on Windows, *asynchronous* on POSIX
15951595

15961596
These behaviors are partly for historical reasons, as changing them would
15971597
create backwards incompatibility, but they are also expected by some users.
@@ -1769,7 +1769,7 @@ cases:
17691769
or unavailable.
17701770
* `>128` **Signal Exits** - If Node.js receives a fatal signal such as
17711771
`SIGKILL` or `SIGHUP`, then its exit code will be `128` plus the
1772-
value of the signal code. This is a standard Unix practice, since
1772+
value of the signal code. This is a standard POSIX practice, since
17731773
exit codes are defined to be 7-bit integers, and signal exits set
17741774
the high-order bit, and then contain the value of the signal code.
17751775

0 commit comments

Comments
 (0)