Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: improve fs.truncate functions' documentation #7648

Closed
wants to merge 3 commits into from

Commits on Aug 27, 2016

  1. test: make sure over truncation of file zero fills

    If the file is over truncated, then the rest of the file should be
    filled with zeroes. These tests ensure the same.
    thefourtheye committed Aug 27, 2016
    Configuration menu
    Copy the full SHA
    2e54b5a View commit details
    Browse the repository at this point in the history
  2. doc: improve fs.truncate functions' documentation

    The default value of the `len` parameter is zero and it is included in
    the documenetation.
    
    This patch also has examples of how `ftruncate` can be used.
    thefourtheye committed Aug 27, 2016
    Configuration menu
    Copy the full SHA
    7c20ba9 View commit details
    Browse the repository at this point in the history
  3. doc: review comments

    thefourtheye committed Aug 27, 2016
    Configuration menu
    Copy the full SHA
    d0b96ec View commit details
    Browse the repository at this point in the history