未验证 提交 f258c370 编写于 作者: O openharmony_ci 提交者: Gitee

!3382 update fileio api

Merge pull request !3382 from zhangxingxia/master
......@@ -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.
先完成此消息的编辑!
想要评论请 注册