- fr = f_read(&fsrc, buffer, sizeof buffer, &br); <span class="c">/* Read a chunk of source file */</span>\r
- if (fr || br == 0) break; <span class="c">/* error or eof */</span>\r
- fr = f_write(&fdst, buffer, br, &bw); <span class="c">/* Write it to the destination file */</span>\r
- if (fr || bw < br) break; <span class="c">/* error or disk full */</span>\r
+ fr = f_read(&fsrc, buffer, sizeof buffer, &br); <span class="c">/* Read a chunk of data from the source file */</span>\r
+ if (br == 0) break; <span class="c">/* error or eof */</span>\r
+ fr = f_write(&fdst, buffer, br, &bw); <span class="c">/* Write it to the destination file */</span>\r
+ if (bw < br) break; <span class="c">/* error or disk full */</span>\r