From 70702af1370e44e32fb2c3c507e4759a187b4fe5 Mon Sep 17 00:00:00 2001 From: Leo C Date: Thu, 8 Sep 2016 19:15:27 +0200 Subject: Import fatfs R0.12b --- fatfs/doc/en/write.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '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.

-- cgit v1.2.3