diff --git a/doc/api/fs.md b/doc/api/fs.md index d9d36b6e1024ea..dbaac7f2117130 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -2873,9 +2873,9 @@ changes: Read data from the file specified by `fd`. -`buffer` is the buffer that the data (read from the fd) will be written to. +`buffer` is the buffer that the data (read from the fd) will be read from. -`offset` is the offset in the buffer to start writing at. +`offset` is the offset in the buffer to start reading from. `length` is an integer specifying the number of bytes to read.