]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - fatfs/doc/en/write.html
Merge branch 'chan-fatfs' into fatfs-integration
[z180-stamp.git] / fatfs / doc / en / write.html
index 925fd564910e9dc95543c19e19f96d9fe31afc39..7ca8ad6717e37ea65661b4b399343918b38c98a5 100644 (file)
@@ -34,7 +34,7 @@ FRESULT f_write (
 <dt>btw</dt>\r
 <dd>Specifies number of bytes to write in range of <tt>UINT</tt> type.</dd>\r
 <dt>bw</dt>\r
-<dd>Pointer to the <tt>UINT</tt> variable to return the number of bytes written. The value is always valid after the function call regardless of the result.</dd>\r
+<dd>Pointer to the <tt>UINT</tt> variable to return the number of bytes written. The value is always valid after the function call regardless of the result code.</dd>\r
 </dl>\r
 </div>\r
 \r
@@ -45,7 +45,6 @@ FRESULT f_write (
 <a href="rc.html#ok">FR_OK</a>,\r
 <a href="rc.html#de">FR_DISK_ERR</a>,\r
 <a href="rc.html#ie">FR_INT_ERR</a>,\r
-<a href="rc.html#nr">FR_NOT_READY</a>,\r
 <a href="rc.html#io">FR_INVALID_OBJECT</a>,\r
 <a href="rc.html#tm">FR_TIMEOUT</a>\r
 </p>\r
@@ -54,7 +53,7 @@ FRESULT f_write (
 \r
 <div class="para desc">\r
 <h4>Description</h4>\r
-<p>The read/write pointer of the file object advances number of bytes written. After the function succeeded, <tt class="arg">*bw</tt> should be checked to detect the disk full. In case of <tt class="arg">*bw</tt> is less than <tt class="arg">btw</tt>, 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.</p>\r
+<p>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, <tt class="arg">*bw</tt> should be checked to detect the disk full. In case of <tt class="arg">*bw</tt> &lt; <tt class="arg">btw</tt>, 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.</p>\r
 </div>\r
 \r
 \r