Browse files

doc: document fs 'rs+' open mode

  • Loading branch information...
1 parent 1a2255a commit ccc4e547ea91ce42a798b88c728d3d17c83ec079 @magicmonkey magicmonkey committed with bnoordhuis May 16, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 doc/api/fs.markdown
4 doc/api/fs.markdown
@@ -277,6 +277,10 @@ this doesn't turn `` into a synchronous blocking call, if that's what
you want then you should be using `fs.openSync()`
An exception occurs if the file does not exist.
+* `'rs+'` - Open file for reading and writing, telling the OS to open it
+See notes for `'rs'` about using this with caution.
* `'w'` - Open file for writing.
The file is created (if it does not exist) or truncated (if it exists).

0 comments on commit ccc4e54

Please sign in to comment.