Skip to content

Commit

Permalink
doc: fix process.stdout fd number
Browse files Browse the repository at this point in the history
it should be 1 for the stdout fd number

PR-URL: #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>
  • Loading branch information
fmy authored and MylesBorins committed Mar 28, 2017
1 parent 51c8d80 commit 7f6b03f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1539,7 +1539,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:

Expand Down

0 comments on commit 7f6b03f

Please sign in to comment.