X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/e1deb7c3bc0500aabf5d099adb231f6d1d27f01d..b30c4e8f1aef96f6fdc93da9f125545f5f74d06e:/fatfs/doc/en/write.html diff --git a/fatfs/doc/en/write.html b/fatfs/doc/en/write.html index 925fd56..7ca8ad6 100644 --- a/fatfs/doc/en/write.html +++ b/fatfs/doc/en/write.html @@ -34,7 +34,7 @@ FRESULT f_write (
btw
Specifies number of bytes to write in range of UINT type.
bw
-
Pointer to the UINT variable to return the number of bytes written. The value is always valid after the function call regardless of the result.
+
Pointer to the UINT variable to return the number of bytes written. The value is always valid after the function call regardless of the result code.
@@ -45,7 +45,6 @@ FRESULT f_write ( FR_OK, FR_DISK_ERR, FR_INT_ERR, -FR_NOT_READY, FR_INVALID_OBJECT, FR_TIMEOUT

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

Description

-

The read/write pointer of the file object advances number of bytes written. After the function succeeded, *bw should be checked to detect the disk full. In case of *bw is less than btw, it means the volume got full during the write operation. The function can take a time when the volume is full or close to full.

+

The function starts to write data to the file at the position pointed by the read/write pointer. The read/write pointer advances as number of bytes written. After the function succeeded, *bw should be checked to detect the disk full. In case of *bw < btw, it means the volume got full during the write operation. The function can take a time when the volume is full or close to full.