doc: fix process.stdout fd number

it should be 1 for the stdout fd number

PR-URL: https://github.com/nodejs/node/pull/12055
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
This commit is contained in:
Fumiya KARASAWA authored and Myles Borins committed 2017-04-18 20:02:20 -04:00
1 parent cddc32c954
commit 97035136d6
1 file changed
+1 -1
+1 -1
View File
@@ -1555,7 +1555,7 @@ must call `process.stdin.resume()` to read from it. Note also that calling
* {Stream}
The `process.stdout` property returns a [Writable][] stream connected to
`stdout` (fd `2`).
`stdout` (fd `1`).
For example, to copy process.stdin to process.stdout: