From 7f6b03fd0f06bbee8ce8df423c815c4cba24f0d6 Mon Sep 17 00:00:00 2001 From: Fumiya KARASAWA Date: Mon, 27 Mar 2017 11:21:30 +0900 Subject: [PATCH] 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 Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau --- doc/api/process.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/process.md b/doc/api/process.md index f158a1bc8efa14..4739ffb27ad588 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -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: