[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [leafnode-list] Fetchnews suggestion - flushing verbose output
* Colin Brough (Colin.Brough@xxxxxxxxxxxxxx) [1999-08-14 13:48]:
> I've hacked my own copy of 'fetchnews' to flush stdout after every
> 'printf' (only if verbose output is selected), which does the trick
> nicely, but wondered whether it was something that might be useful for
Ever considered setbuf/setvbuf instead? Save the buffer state of
stdout, set it to "line buffered", and upon exit restore the original
stdout buffer behaviour.
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list