We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d676c6c commit 42ccf22Copy full SHA for 42ccf22
doc/api/fs.md
@@ -1533,6 +1533,9 @@ changes:
1533
Asynchronous close(2). No arguments other than a possible exception are given
1534
to the completion callback.
1535
1536
+Calling `fs.close()` on any file descriptor (`fd`) that is currently in use
1537
+through any other `fs` operation may lead to undefined behavior.
1538
+
1539
## `fs.closeSync(fd)`
1540
<!-- YAML
1541
added: v0.1.21
@@ -1542,6 +1545,9 @@ added: v0.1.21
1542
1545
1543
1546
Synchronous close(2). Returns `undefined`.
1544
1547
1548
+Calling `fs.closeSync()` on any file descriptor (`fd`) that is currently in use
1549
1550
1551
## `fs.constants`
1552
1553
* {Object}
0 commit comments