Browse Source

Added docs for fs.fsync and fs.fsyncSync

Thanks baudehlo. Fixes #1009.
v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
c33790262b
  1. 8
      doc/api/fs.markdown

8
doc/api/fs.markdown

@ -272,6 +272,14 @@ Change file timestamps.
Change file timestamps with the difference that if filename refers to a Change file timestamps with the difference that if filename refers to a
symbolic link, then the link is not dereferenced. 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]) ### fs.write(fd, buffer, offset, length, position, [callback])

Loading…
Cancel
Save