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 @@ -2162,6 +2162,14 @@ a [Writable][] stream.
2162
2162
` process.stderr ` differs from other Node.js streams in important ways. See
2163
2163
[ note on process I/O] [ ] for more information.
2164
2164
2165
+ ### ` process.stderr.fd `
2166
+
2167
+ * {number}
2168
+
2169
+ This property refers to the value of underlying file descriptor of
2170
+ ` process.stderr ` . The value is fixed at ` 2 ` . In [ ` Worker ` ] [ ] threads,
2171
+ this field does not exist.
2172
+
2165
2173
## ` process.stdin `
2166
2174
2167
2175
* {Stream}
@@ -2195,6 +2203,14 @@ In "old" streams mode the `stdin` stream is paused by default, so one
2195
2203
must call ` process.stdin.resume() ` to read from it. Note also that calling
2196
2204
` process.stdin.resume() ` itself would switch stream to "old" mode.
2197
2205
2206
+ ### ` process.stdin.fd `
2207
+
2208
+ * {number}
2209
+
2210
+ This property refers to the value of underlying file descriptor of
2211
+ ` process.stdin ` . The value is fixed at ` 0 ` . In [ ` Worker ` ] [ ] threads,
2212
+ this field does not exist.
2213
+
2198
2214
## ` process.stdout `
2199
2215
2200
2216
* {Stream}
@@ -2213,6 +2229,14 @@ process.stdin.pipe(process.stdout);
2213
2229
` process.stdout ` differs from other Node.js streams in important ways. See
2214
2230
[ note on process I/O] [ ] for more information.
2215
2231
2232
+ ### ` process.stdout.fd `
2233
+
2234
+ * {number}
2235
+
2236
+ This property refers to the value of underlying file descriptor of
2237
+ ` process.stdout ` . The value is fixed at ` 1 ` . In [ ` Worker ` ] [ ] threads,
2238
+ this field does not exist.
2239
+
2216
2240
### A note on process I/O
2217
2241
2218
2242
` process.stdout ` and ` process.stderr ` differ from other Node.js streams in
You can’t perform that action at this time.
0 commit comments