提交 33706fec 编写于 作者: Z zhangxingxia

update fileio api

Signed-off-by: Nzhangxingxia <zhangxingxia1@huawei.com>
上级 ef9baff8
......@@ -1221,7 +1221,7 @@ ftruncateSync(fd: number, len?: number): void
- 示例:
```js
fileio.ftruncate(fd, len);
fileio.ftruncateSync(fd, len);
```
......@@ -1293,7 +1293,7 @@ truncateSync(path: string, len?: number): void
- 示例:
```js
fileio.ftruncate(path, len);
fileio.truncateSync(path, len);
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册