docs: add return value for sync fs functions
authorTyler Anton <mtyleranton@gmail.com>
Sun, 8 Mar 2015 02:52:18 +0000 (21:52 -0500)
committerJeremiah Senkpiel <fishrock123@rocketmail.com>
Mon, 1 Jun 2015 18:11:10 +0000 (14:11 -0400)
commita79dece8aded7891cb64b9d87c0a9ba26aa7c9c4
tree1f8be3f1d473658d001189d0bd8ac44455bd9651
parent1cb72c14c445155124d6b294314dc4a7e397d878
docs: add return value for sync fs functions

Clarify that synchronous functions in fs with no return value return
undefined.

Specify that fs.openSync() returns an integer and fs.existsSync()
returns true or false.

Fixes: https://github.com/joyent/node/issues/9313

PR: https://github.com/joyent/node/pull/9359
Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
PORT-FROM: joyent/node @ 51fe319faf4399fd027f8b32d1c425200b911e44
PR-URL: https://github.com/nodejs/io.js/pull/1770
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Conflicts:
doc/api/fs.markdown
doc/api/fs.markdown