thanks to all who replied i mistakfully tried fsync instead of fflush fflush solved my problem
erez. On Thu, 2002-04-04 at 13:39, Sagi Bashari wrote: > From: "Erez Doron" <[EMAIL PROTECTED]> > > the problem is that printf does not sync it's buffers until a newline > > so no progress bar is displayed until the job ends. > > > > > > how do i solve this ? > > Try > fflush(stdout); > > Sagi > ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
