doc: document fs.datasync(Sync)

The APIs are implemented but currently not documented.

PR-URL: https://github.com/nodejs/node/pull/5402
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Rod Vagg <rod@vagg.org>
This commit is contained in:
Ron Korving 2016-02-24 12:41:05 +09:00 committed by Ben Noordhuis
parent 66f4586dd0
commit 45789027ac

View File

@ -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