From 55f59e8aa66651712bc5538d0818ce47b62b1f90 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 64e4a156fa7d87..d1e9f7eb3293c6 100644 --- a/doc/api/fs.markdown +++ b/doc/api/fs.markdown @@ -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