fs: add positioned file writing feature to fs.WriteStream
authorThomas Shinnick <tshinnic@gmail.com>
Sun, 11 Sep 2011 20:30:01 +0000 (15:30 -0500)
committerkoichik <koichik@improvement.jp>
Mon, 12 Sep 2011 05:57:49 +0000 (14:57 +0900)
commite58c036c27f460873695d7b7c0a7b00da0bdf962
tree320dbe165ebb0473325b4987b19588073240e61e
parente4ebeb630e770569480cdd6124bd9ad98f027803
fs: add positioned file writing feature to fs.WriteStream

Patterned on same feature in ReadStream; a small bit of new code added
plus two refactorings of previous code; added two test files.

Fixes #1645.
doc/api/fs.markdown
lib/fs.js
test/simple/test-file-write-stream2.js [new file with mode: 0644]
test/simple/test-file-write-stream3.js [new file with mode: 0644]