Fwd: Re: [OpenAFS] cache data update
Derek Atkins
warlord@MIT.EDU
17 Oct 2003 09:26:08 -0400
"amar deep kumar" <kumaramar_sonu@rediffmail.com> writes:
> Hi,
>
> I have tried fflush(NULL). but its not working.
> exact situation is like this -
Ahh, no, you need to fflush(fp) where fp is the file pointer of
your output file.
> ./executable >> test.out
>
> now this test.out file is in AFS space.how can i use fflush for a
> particular file, because in this case i am not able to get the file
> descriptor of this file.
Ahh, no, there is no way to do this. You can _try_ using
fflush(stdout) but it probably wont work. I think you're
out of luck in this case...
> amardeep
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available