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 @@ -2190,6 +2190,14 @@ a [Writable][] stream.
2190
2190
` process.stderr ` differs from other Node.js streams in important ways. See
2191
2191
[ note on process I/O] [ ] for more information.
2192
2192
2193
+ ### ` process.stderr.fd `
2194
+
2195
+ * {number}
2196
+
2197
+ This property refers to the value of underlying file descriptor of
2198
+ ` process.stderr ` . The value is fixed at ` 2 ` . In [ ` Worker ` ] [ ] threads,
2199
+ this field does not exist.
2200
+
2193
2201
## ` process.stdin `
2194
2202
2195
2203
* {Stream}
@@ -2223,6 +2231,14 @@ In "old" streams mode the `stdin` stream is paused by default, so one
2223
2231
must call ` process.stdin.resume() ` to read from it. Note also that calling
2224
2232
` process.stdin.resume() ` itself would switch stream to "old" mode.
2225
2233
2234
+ ### ` process.stdin.fd `
2235
+
2236
+ * {number}
2237
+
2238
+ This property refers to the value of underlying file descriptor of
2239
+ ` process.stdin ` . The value is fixed at ` 0 ` . In [ ` Worker ` ] [ ] threads,
2240
+ this field does not exist.
2241
+
2226
2242
## ` process.stdout `
2227
2243
2228
2244
* {Stream}
@@ -2241,6 +2257,14 @@ process.stdin.pipe(process.stdout);
2241
2257
` process.stdout ` differs from other Node.js streams in important ways. See
2242
2258
[ note on process I/O] [ ] for more information.
2243
2259
2260
+ ### ` process.stdout.fd `
2261
+
2262
+ * {number}
2263
+
2264
+ This property refers to the value of underlying file descriptor of
2265
+ ` process.stdout ` . The value is fixed at ` 1 ` . In [ ` Worker ` ] [ ] threads,
2266
+ this field does not exist.
2267
+
2244
2268
### A note on process I/O
2245
2269
2246
2270
` process.stdout ` and ` process.stderr ` differ from other Node.js streams in
You can’t perform that action at this time.
0 commit comments