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 Apr 19, 2017
1 parent cddc32c commit 9703513
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 @@ -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:

Expand Down

0 comments on commit 9703513

Please sign in to comment.