X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/e1deb7c3bc0500aabf5d099adb231f6d1d27f01d..b30c4e8f1aef96f6fdc93da9f125545f5f74d06e:/fatfs/doc/en/read.html diff --git a/fatfs/doc/en/read.html b/fatfs/doc/en/read.html index de593f0..80811c9 100644 --- a/fatfs/doc/en/read.html +++ b/fatfs/doc/en/read.html @@ -34,7 +34,7 @@ FRESULT f_read (
btr
Number of bytes to read in range of UINT type.
br
-
Pointer to the UINT variable to return number of bytes read. The value is always valid after the function call regardless of the result.
+
Pointer to the UINT variable to return number of bytes read. The value is always valid after the function call regardless of the result code.
@@ -45,7 +45,6 @@ FRESULT f_read ( FR_OK, FR_DISK_ERR, FR_INT_ERR, -FR_NOT_READY, FR_INVALID_OBJECT, FR_TIMEOUT

@@ -54,7 +53,7 @@ FRESULT f_read (

Description

-

The file read/write pointer of the file object advances number of bytes read. After the function succeeded, *br should be checked to detect end of the file. In case of *br is less than btr, it means the read/write pointer reached end of the file during read operation.

+

The function starts to read data from the file at the position pointed by the read/write pointer. The read/write pointer advances as number of bytes read. After the function succeeded, *br should be checked to detect end of the file. In case of *br < btr, it means the read/write pointer reached end of the file during read operation.