提交 c3db66b7 编写于 作者: P Peter_1988

update docs

Signed-off-by: NPeter_1988 <zhouyun2@huawei.com>
上级 1375c6b9
...@@ -1221,7 +1221,7 @@ Synchronously truncates a file based on the file descriptor. ...@@ -1221,7 +1221,7 @@ Synchronously truncates a file based on the file descriptor.
- Example - Example
```js ```js
fileio.ftruncate(fd, len); fileio.ftruncateSync(fd, len);
``` ```
...@@ -1293,7 +1293,7 @@ Synchronously truncates a file based on the file path. ...@@ -1293,7 +1293,7 @@ Synchronously truncates a file based on the file path.
- Example - Example
```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.
先完成此消息的编辑!
想要评论请 注册