arduino/reference-en

SD read() documentation needs additional information

dgnuff opened this issue · 1 comments

https://www.arduino.cc/reference/en/libraries/sd/read/

This page states:

Syntax
file.read()
file.read(buf, len)

and

Returns
The next byte (or character), or -1 if none is available.

This is obviously the return value for the read() prototype. The page should also include a description of the return type from the read(buf, len) prototype.

Thanks for your report @dgnuff. This issue tracker is only used for tracking tasks related to the Arduino Language Reference content that is hosted in this repository. So I will close this as off topic.

Issues related to the library references must be submitted to the issue tracker of the library's repository. I see this defect is already being tracked there: arduino-libraries/SD#52