Added docs for fs.fsync and fs.fsyncSync

Thanks baudehlo. Fixes #1009.
This commit is contained in:
Ryan Dahl 2011-05-03 14:56:04 -07:00
parent 9f0b1a9bc6
commit c33790262b

View File

@ -272,6 +272,14 @@ Change file timestamps.
Change file timestamps with the difference that if filename refers to a
symbolic link, then the link is not dereferenced.
### fs.fsync(fd, callback)
Asynchronous fsync(2). No arguments other than a possible exception are given
to the completion callback.
### fs.fsyncSync(fd)
Synchronous fsync(2).
### fs.write(fd, buffer, offset, length, position, [callback])