Skip to content

Commit f8fbac7

Browse files
TrottMylesBorins
authored andcommitted
doc: improve fs.read() doc text
PR-URL: #14631 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent 5a7a49f commit f8fbac7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/fs.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1308,9 +1308,9 @@ Read data from the file specified by `fd`.
13081308

13091309
`length` is an integer specifying the number of bytes to read.
13101310

1311-
`position` is an integer specifying where to begin reading from in the file.
1312-
If `position` is `null`, data will be read from the current file position,
1313-
and the file position will be updated for subsequent reads.
1311+
`position` is an argument specifying where to begin reading from in the file.
1312+
If `position` is `null`, data will be read from the current file position,
1313+
and the file position will be updated.
13141314
If `position` is an integer, the file position will remain unchanged.
13151315

13161316
The callback is given the three arguments, `(err, bytesRead, buffer)`.

0 commit comments

Comments
 (0)