title: Is it possible to implement printf() in a non blocking manner in linux terminal
body: <p>I have a printf statement after sleep for 1 second. Since the printf statement takes longer than 1 second , the refresh rate is more than 2 seconds. Here is an example i am talking about :</p>
  
  <pre><code>while(1){
     printf("%s",buf);//Takes more than one second to print a table. Only few          
                      //values are updated
     sleep(1);
  }
  </code></pre>
  
  <p>How can i have a printf to be non blocking. Is there a way in a standard linux machine ?</p>
  
  <p>-Sanatan</p>