From 32ee556bb02b5134ec360f842ab1452df8d23a41 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 808f71a3112e06..2c140a1fdeff16 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -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: