fs.ftruncateSync(fd[, len])
截断文件描述符。返回 undefined。
¥Truncates the file descriptor. Returns undefined.
有关详细信息,请参阅此 API 的异步版本的文档:fs.ftruncate()。
¥For detailed information, see the documentation of the asynchronous version of
this API: fs.ftruncate().