[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: strang problem about printf

On Wed, Oct 28, 2009 at 01:43:46AM -0700, Wael Showair wrote:
> Thanks Hector for your reply,
> i can tell u whatever the application that i am running, @ the end it is just printf.
> i dont know why the output of the printf is buffered like this,

man setvbuf/setbuf/setlinebuf ?

Normally stdout is line buffered, so if you don't have a \n at the end 
of your printf it may be delayed. 

I might be completely wrong, however.


Reply to: