et the size of the file so that we can allocate memory for it. */
struct stat st;
if (fstat(fileno(fp), &amp;st) != 0) {
    fprintf(stderr, "Can't stat `%s'.\n", fn);
    fclose(fp);
    return RB_FAIL;
}
</pre>
</div>
</div>
</div>

<div id="outline-container-sec-4-4" class="outline-3">
<h3 id="sec-4-4">Allocate memory</h3>
<div class="outline-text-3" id="text-4-4">
<div class="org-src-container">

<pre class="src src-c" id="allocate_memory">/* Allocate memory with program first, stack second. */
size_t s