From 9888bb123840a7ec02009b988ad4187f90463e8c Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Fri, 4 Aug 2017 09:44:11 -0700 Subject: [PATCH] doc: improve fs.read() doc text MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/14631 Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Tobias Nießen --- doc/api/fs.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/fs.md b/doc/api/fs.md index 0107b0a2311c85..6aeee5d55e412f 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -1639,9 +1639,9 @@ Read data from the file specified by `fd`. `length` is an integer specifying the number of bytes to read. -`position` is an integer specifying where to begin reading from in the file. -If `position` is `null`, data will be read from the current file position, -and the file position will be updated for subsequent reads. +`position` is an argument specifying where to begin reading from in the file. +If `position` is `null`, data will be read from the current file position, +and the file position will be updated. If `position` is an integer, the file position will remain unchanged. The callback is given the three arguments, `(err, bytesRead, buffer)`.