fs.closeSync(fd)
fd<integer>
关闭文件描述符。返回 undefined。
【Closes the file descriptor. Returns undefined.】
在通过任何其他 fs 操作使用中的任何文件描述符 (fd) 上调用 fs.closeSync() 可能会导致未定义的行为。
【Calling fs.closeSync() 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.】