Thread
:
Help in debugging this simple code snippet.
View Single Post
rj81inmit
Newbie Member
11Aug2008,04:06
Why does it always throw stderr ? Kindly help...
#include <stdio.h>
#include <unistd.h>
int main()
{
while(1)
{
fprintf(stdout,"hello-out");
fprintf(stderr,"hello-err");
sleep(1);
}
return 0;
}
thanks, robin.