Re: Redirector problem

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 19 Jun 2001 20:36:23 +0200

Henrik Nordstrom wrote:
>
> Why your redirectors are using that much CPU I do not know, but for it
> to work you need to disable STDIO buffering.
>
> In main, call
>
> setvbuf(stdout, NULL);

Sorry, I meant: setbuf(stdout, NULL);

The syntax for using setvbuf is slightly different..

--
Henrik Nordstrom
Squid Hacker
Received on Tue Jun 19 2001 - 12:57:07 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:04 MST