Skip to content

Commit

Permalink
Fixed return value documentation of SdFile::write()
Browse files Browse the repository at this point in the history
  • Loading branch information
giszo committed Aug 23, 2016
1 parent 666a2f5 commit df67a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utility/SdFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,7 @@ uint8_t SdFile::truncate(uint32_t length) {
* \param[in] nbyte Number of bytes to write.
*
* \return For success write() returns the number of bytes written, always
* \a nbyte. If an error occurs, write() returns -1. Possible errors
* \a nbyte. If an error occurs, write() returns 0. Possible errors
* include write() is called before a file has been opened, write is called
* for a read-only file, device is full, a corrupt file system or an I/O error.
*
Expand Down

0 comments on commit df67a6a

Please sign in to comment.