title: How to use write() or fwrite() for writing data to terminal (stdout)?
body: <p>I am trying to speed up my C program to spit out data faster.<br />
  Currently I am using <code>printf()</code> to give some data to the outside world. It is a continuous stream of data, therefore I am unable to use return(data).</p>
  <p>How can I use <code>write()</code> or <code>fwrite()</code> to give the data out to the <code>console</code> instead of file?</p>
  <p>Overall my setup consist of program written in C and its output goes to the python script, where the data is processed further. I form a pipe:</p>
  <pre><code>./program_in_c | script_in_python
  </code></pre>
  <p>This gives additional benefit on Raspberry Pi by using more of processor's cores.</p>