From f5773ec9dd93f7bf715f4bf2daf4f7493fbf0d90 Mon Sep 17 00:00:00 2001 From: ronkorving Date: Wed, 24 Feb 2016 12:41:05 +0900 Subject: [PATCH] doc: document fs.datasync(Sync) The APIs are implemented but currently not documented. --- 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