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 Myles Borins committed Mar 17, 2016
1 parent fb8db9e commit 55f59e8
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 55f59e8

Please sign in to comment.