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.