Fwd: Re: [OpenAFS] cache data update

Russ Allbery rra@stanford.edu
Fri, 17 Oct 2003 14:29:11 -0700


amar deep kumar <kumaramar_sonu@rediffmail.com> writes:

> Hi,
>     I have tried fflush(NULL). but its not working.
> exact situation is like this -

> ./executable >> test.out

Your executable needs to fflush(stdout) periodically while it runs.
Ideally, it needs to also run fsync(fileno(stdout)) periodically as well.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>