locked
concept of buffering in c RRS feed

  • General discussion

  • i came to know about this concept from a random c program from a random blog disemble. But i am not able to understand it fully its working.
    #include <stdio.h>
     #include <unistd.h>
     int main()
     {
     while(1)
     {
     fprintf(stdout,"hello-out");
     fprintf(stderr,"hello-err");
     sleep(1);
     }
     return 0;
     }






    Wednesday, June 8, 2011 6:14 PM