Skip to content

Commit 55f59e8

Browse files
Ron KorvingMyles Borins
Ron Korving
authored and
Myles Borins
committed
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 fb8db9e commit 55f59e8

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
@@ -429,6 +429,15 @@ to the completion callback.
429429

430430
Synchronous fchown(2). Returns `undefined`.
431431

432+
## fs.fdatasync(fd, callback)
433+
434+
Asynchronous fdatasync(2). No arguments other than a possible exception are
435+
given to the completion callback.
436+
437+
## fs.fdatasyncSync(fd)
438+
439+
Synchronous fdatasync(2). Returns `undefined`.
440+
432441
## fs.fstat(fd, callback)
433442

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

0 commit comments

Comments
 (0)