Skip to content

Commit 9f4480c

Browse files
Trottjasnell
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 <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent a1abf62 commit 9f4480c

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
@@ -1631,10 +1631,10 @@ important ways:
16311631
2. They cannot be closed ([`end()`][] will throw).
16321632
3. They will never emit the [`'finish'`][] event.
16331633
4. Writes may be synchronous depending on the what the stream is connected to
1634-
and whether the system is Windows or Unix:
1635-
- Files: *synchronous* on Windows and Linux
1636-
- TTYs (Terminals): *asynchronous* on Windows, *synchronous* on Unix
1637-
- Pipes (and sockets): *synchronous* on Windows, *asynchronous* on Unix
1634+
and whether the system is Windows or POSIX:
1635+
- Files: *synchronous* on Windows and POSIX
1636+
- TTYs (Terminals): *asynchronous* on Windows, *synchronous* on POSIX
1637+
- Pipes (and sockets): *synchronous* on Windows, *asynchronous* on POSIX
16381638

16391639
These behaviors are partly for historical reasons, as changing them would
16401640
create backwards incompatibility, but they are also expected by some users.
@@ -1817,7 +1817,7 @@ cases:
18171817
options were set, but the port number chosen was invalid or unavailable.
18181818
* `>128` **Signal Exits** - If Node.js receives a fatal signal such as
18191819
`SIGKILL` or `SIGHUP`, then its exit code will be `128` plus the
1820-
value of the signal code. This is a standard Unix practice, since
1820+
value of the signal code. This is a standard POSIX practice, since
18211821
exit codes are defined to be 7-bit integers, and signal exits set
18221822
the high-order bit, and then contain the value of the signal code.
18231823

0 commit comments

Comments
 (0)