Commit a79dece8 authored by Tyler Anton's avatar Tyler Anton Committed by Jeremiah Senkpiel
Browse files

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: default avatarJulien Gilli <julien.gilli@joyent.com>

PORT-FROM: joyent/node @ 51fe319f
PR-URL: https://github.com/nodejs/io.js/pull/1770


Reviewed-By: default avatarRoman Reiss <me@silverwind.io>
Reviewed-By: default avatarJeremiah Senkpiel <fishrock123@rocketmail.com>

Conflicts:
	doc/api/fs.markdown
parent 1cb72c14
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment