title: fputs and fflush, writing and buffer process
body: <p>I'm confused as to how the writing processing goes in C. So I have a string, s, that I want to write to the output. To do that, I use fputs:</p>
  
  <pre><code>fputs(s, stdout);
  </code></pre>
  
  <p>But apparently this does not write to the output, but merely collect the data for writing? Where exactly is it collected? So I have to wait until the program exits or till I call fflush() till the output is actually written into stdout? Am I right?</p>