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

!3455 同步刷新js-apis-fileio文档两行代码

Merge pull request !3455 from Peter_1988/master
......@@ -1221,7 +1221,7 @@ Synchronously truncates a file based on the file descriptor.
- Example
```js
fileio.ftruncate(fd, len);
fileio.ftruncateSync(fd, len);
```
......@@ -1293,7 +1293,7 @@ Synchronously truncates a file based on the file path.
- Example
```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.
先完成此消息的编辑!
想要评论请 注册