From 93dce6d4fe1f527e4a477f98cb8816ed12eea5b8 Mon Sep 17 00:00:00 2001 From: Ron Korving Date: Wed, 24 Feb 2016 12:41:05 +0900 Subject: [PATCH] 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 Reviewed-By: Rod Vagg --- doc/api/fs.markdown | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/api/fs.markdown b/doc/api/fs.markdown index 0740fda91b..3e06eabded 100644 --- a/doc/api/fs.markdown +++ b/doc/api/fs.markdown @@ -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