From 3c94e5090a0392d5178898d1523d63fb4136c4f5 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 0740fda91b110b..3e06eabded01dd 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