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 Anna Henningsen committed 2017-03-27 06:23:19 +02:00
1 parent 595efd8b9a
commit 88daf88bd3
1 file changed
+1 -1
+1 -1
View File
@@ -1552,7 +1552,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: