Browse Source

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>
v6
Fumiya KARASAWA 8 years ago
committed by Anna Henningsen
parent
commit
88daf88bd3
No known key found for this signature in database GPG Key ID: D8B9F5AEAE84E4CF
  1. 2
      doc/api/process.md

2
doc/api/process.md

@ -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:

Loading…
Cancel
Save