Skip to content

Commit 3c94e50

Browse files
Ron Korvingrvagg
Ron Korving
authored andcommitted
doc: document fs.datasync(Sync)
The APIs are implemented but currently not documented. PR-URL: #5402 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Rod Vagg <[email protected]>
1 parent ad0287f commit 3c94e50

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/api/fs.markdown

+9
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,15 @@ to the completion callback.
436436

437437
Synchronous fchown(2). Returns `undefined`.
438438

439+
## fs.fdatasync(fd, callback)
440+
441+
Asynchronous fdatasync(2). No arguments other than a possible exception are
442+
given to the completion callback.
443+
444+
## fs.fdatasyncSync(fd)
445+
446+
Synchronous fdatasync(2). Returns `undefined`.
447+
439448
## fs.fstat(fd, callback)
440449

441450
Asynchronous fstat(2). The callback gets two arguments `(err, stats)` where

0 commit comments

Comments
 (0)