Skip to content

doc: improve fs.truncate functions' documentation#7648

Closed
thefourtheye wants to merge 3 commits intonodejs:masterfrom
thefourtheye:fs-truncate-docs
Closed

doc: improve fs.truncate functions' documentation#7648
thefourtheye wants to merge 3 commits intonodejs:masterfrom
thefourtheye:fs-truncate-docs

Conversation

@thefourtheye
Copy link
Copy Markdown
Contributor

@thefourtheye thefourtheye commented Jul 10, 2016

Checklist
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

doc, fs

Description of change

The default value of the len parameter is zero and it is included in
the documentation.

This patch also has an example of how ftruncate can be used.

@nodejs/fs @nodejs/documentation

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations. fs Issues and PRs related to the fs subsystem / file system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants