Does fwrite buffer the output?
<p>In C++, there is an <code>fwrite()</code> which writes a buffer to a file on disk:</p>

<p><a href="http://www.cplusplus.com/reference/clibrary/cstdio/fwrite/" rel="nofollow">http://www.cplusplus.com/reference/clibrary/cstdio/fwrite/</a></p>

<p>Can you please tell me if there is any buffer inside that fwrite implementation?</p>

<p>i.e. if I call fwrite() multiple times (say 10 times), does it actually invoke file I/O 10 different times?  </p>

<p>I am asking this for Ubuntu 10.04 environment.</p>
