diff --git a/doc/api/fs.md b/doc/api/fs.md index 3768f0309ffff1..a45e171e352dbb 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -1533,6 +1533,9 @@ changes: Asynchronous close(2). No arguments other than a possible exception are given to the completion callback. +Calling `fs.close()` on any file descriptor (`fd`) that is currently in use +through any other `fs` operation may lead to undefined behavior. + ## `fs.closeSync(fd)`