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

fs: Fix default params for fs.write #7856

Commits on Nov 8, 2016

  1. fs: Fix default params for fs.write(Sync)

    Add support for fs.write(fd, buffer, cb) and fs.write(fd, buffer, offset, cb)
    as documented at
    https://nodejs.org/api/fs.html#fs_fs_write_fd_data_position_encoding_callback
    and equivalently for fs.writeSync
    
    Update docs and code comments to reflect the implementation.
    papandreou committed Nov 8, 2016
    Configuration menu
    Copy the full SHA
    e42b847 View commit details
    Browse the repository at this point in the history