speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[External] Re: dtusb module


From: Trevor Saunders
Subject: [External] Re: dtusb module
Date: Mon, 16 Mar 2015 17:01:07 -0400

On Mon, Mar 16, 2015 at 02:28:38PM +0000, Klarich, Terry J. wrote:
> 
> 
> -----Original Message-----
> 
> 
> no, did you maybe forget to call fflush() ?
> 
> Sorry about the late reply my life has been crazy of late.
> 
> Trev
> ------
> 
> Hi Trev:
> 
> It seemed wasteful to me to call fflush each time printf was called to output 
> a line of text.  I originally used setvbuf() to put stdout in line mode.  
> Evidently, I did something wrong or don't understand setvbuf().  I have since 
> switched to fflush() for now so I can continue.  I'll revisit setvbuf() later.

in the case of init I think the two line reply could get only one fflush
which I think would be more efficient than using setvbuf, but I'm not
very familiar with setvbuf.

Trev

> 
> THANKS!
> Terry
> 
> _______________________________________________
> Speechd mailing list
> Speechd at lists.freebsoft.org
> http://lists.freebsoft.org/mailman/listinfo/speechd



reply via email to

[Prev in Thread] Current Thread [Next in Thread]