Browse Source

doc: correct return value of string-based fs.readSync

Closes #2330
v0.9.1-release
Kyle Robinson Young 13 years ago
committed by Ben Noordhuis
parent
commit
6ba3e68bd2
  1. 4
      doc/api/fs.markdown

4
doc/api/fs.markdown

@ -370,8 +370,8 @@ Synchronous version of buffer-based `fs.read`. Returns the number of
## fs.readSync(fd, length, position, encoding) ## fs.readSync(fd, length, position, encoding)
Synchronous version of string-based `fs.read`. Returns the number of Legacy synchronous version of string-based `fs.read`. Returns an array with the
`bytesRead`. data from the file specified and number of bytes read, `[string, bytesRead]`.
## fs.readFile(filename, [encoding], [callback]) ## fs.readFile(filename, [encoding], [callback])

Loading…
Cancel
Save