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 <info@bnoordhuis.nl>
Reviewed-By: Rod Vagg <rod@vagg.org>
  • Loading branch information
Ron Korving authored and bnoordhuis committed Feb 25, 2016
1 parent 66f4586 commit 4578902
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 @@ -436,6 +436,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 4578902

Please sign in to comment.