Skip to content

Commit

Permalink
doc: document fs.datasync(Sync)
Browse files Browse the repository at this point in the history
The APIs are implemented but currently not documented.

PR-URL: #5402
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Rod Vagg <[email protected]>
  • Loading branch information
Ron Korving authored and Myles Borins committed Mar 21, 2016
1 parent 2964620 commit 04d16eb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/api/fs.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,15 @@ to the completion callback.

Synchronous fchown(2). Returns `undefined`.

## fs.fdatasync(fd, callback)

Asynchronous fdatasync(2). No arguments other than a possible exception are
given to the completion callback.

## fs.fdatasyncSync(fd)

Synchronous fdatasync(2). Returns `undefined`.

## fs.fstat(fd, callback)

Asynchronous fstat(2). The callback gets two arguments `(err, stats)` where
Expand Down

0 comments on commit 04d16eb

Please sign in to comment.