">
<h4>Example</h4>
<pre>
<span class="c">/* Read a text file and display it */</span>

FATFS FatFs;   <span class="c">/* Work area (filesystem object) for logical drive */</span>

int main (void)
{
    FIL fil;        <span class="c">/* File object */</span>
    char line[100]; <span class="c">/* Line buffer */</span>
    FRESULT fr;     <span class="c">/* FatFs return code */</span>


    <span class="c">/* Gives a work area to the default drive */</span>
    f_mount(&amp;FatFs, "", 0);

    <span class="