fs.close(fd[, callback])
fd<integer>callback<Function>err<Error>
关闭文件描述符。除了可能的异常外,完成回调不会提供其他参数。
🌐 Closes the file descriptor. No arguments other than a possible exception are given to the completion callback.
对任何当前正在通过其他 fs 操作使用的文件描述符 (fd) 调用 fs.close() 可能导致未定义的行为。
🌐 Calling fs.close() on any file descriptor (fd) that is currently in use
through any other fs operation may lead to undefined behavior.
有关更多详细信息,请参阅 POSIX close(2) 文档。
🌐 See the POSIX close(2) documentation for more detail.