File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -2130,6 +2130,14 @@ a [Writable][] stream.
2130
2130
` process.stderr ` differs from other Node.js streams in important ways. See
2131
2131
[ note on process I/O] [ ] for more information.
2132
2132
2133
+ ### ` process.stderr.fd `
2134
+
2135
+ * {number}
2136
+
2137
+ This property refers to the value of underlying file descriptor of
2138
+ ` process.stderr ` . The value is fixed at ` 2 ` . In [ ` Worker ` ] [ ] threads,
2139
+ this field does not exist.
2140
+
2133
2141
## ` process.stdin `
2134
2142
2135
2143
* {Stream}
@@ -2163,6 +2171,14 @@ In "old" streams mode the `stdin` stream is paused by default, so one
2163
2171
must call ` process.stdin.resume() ` to read from it. Note also that calling
2164
2172
` process.stdin.resume() ` itself would switch stream to "old" mode.
2165
2173
2174
+ ### ` process.stdin.fd `
2175
+
2176
+ * {number}
2177
+
2178
+ This property refers to the value of underlying file descriptor of
2179
+ ` process.stdin ` . The value is fixed at ` 0 ` . In [ ` Worker ` ] [ ] threads,
2180
+ this field does not exist.
2181
+
2166
2182
## ` process.stdout `
2167
2183
2168
2184
* {Stream}
@@ -2181,6 +2197,14 @@ process.stdin.pipe(process.stdout);
2181
2197
` process.stdout ` differs from other Node.js streams in important ways. See
2182
2198
[ note on process I/O] [ ] for more information.
2183
2199
2200
+ ### ` process.stdout.fd `
2201
+
2202
+ * {number}
2203
+
2204
+ This property refers to the value of underlying file descriptor of
2205
+ ` process.stdout ` . The value is fixed at ` 1 ` . In [ ` Worker ` ] [ ] threads,
2206
+ this field does not exist.
2207
+
2184
2208
### A note on process I/O
2185
2209
2186
2210
` process.stdout ` and ` process.stderr ` differ from other Node.js streams in
You can’t perform that action at this time.
0 commit comments