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

!3404 update fileio api

Merge pull request !3404 from zhangxingxia/OpenHarmony-3.1-Release
...@@ -1221,7 +1221,7 @@ ftruncateSync(fd: number, len?: number): void ...@@ -1221,7 +1221,7 @@ ftruncateSync(fd: number, len?: number): void
- 示例: - 示例:
```js ```js
fileio.ftruncate(fd, len); fileio.ftruncateSync(fd, len);
``` ```
...@@ -1293,7 +1293,7 @@ truncateSync(path: string, len?: number): void ...@@ -1293,7 +1293,7 @@ truncateSync(path: string, len?: number): void
- 示例: - 示例:
```js ```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.
先完成此消息的编辑!
想要评论请 注册