From ae111c266c41c0520f20aa09317f0c4b9b7231b6 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 10 Sep 2017 10:48:40 -0700 Subject: [PATCH] doc: use consistent terminology in process doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `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: https://github.com/nodejs/node/pull/15321 Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Tobias Nießen Reviewed-By: James M Snell Reviewed-By: Ruben Bridgewater --- doc/api/process.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/api/process.md b/doc/api/process.md index 885569a4ad48f6..bbcef7002dea95 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -1588,10 +1588,10 @@ important ways: 2. They cannot be closed ([`end()`][] will throw). 3. They will never emit the [`'finish'`][] event. 4. Writes may be synchronous depending on the what the stream is connected to - and whether the system is Windows or Unix: - - Files: *synchronous* on Windows and Linux - - TTYs (Terminals): *asynchronous* on Windows, *synchronous* on Unix - - Pipes (and sockets): *synchronous* on Windows, *asynchronous* on Unix + and whether the system is Windows or POSIX: + - Files: *synchronous* on Windows and POSIX + - TTYs (Terminals): *asynchronous* on Windows, *synchronous* on POSIX + - Pipes (and sockets): *synchronous* on Windows, *asynchronous* on POSIX These behaviors are partly for historical reasons, as changing them would create backwards incompatibility, but they are also expected by some users. @@ -1769,7 +1769,7 @@ cases: or unavailable. * `>128` **Signal Exits** - If Node.js receives a fatal signal such as `SIGKILL` or `SIGHUP`, then its exit code will be `128` plus the - value of the signal code. This is a standard Unix practice, since + value of the signal code. This is a standard POSIX practice, since exit codes are defined to be 7-bit integers, and signal exits set the high-order bit, and then contain the value of the signal code.