LPR fixup

Tito farmatito at tiscali.it
Tue Feb 26 19:53:09 UTC 2008


On Tuesday 26 February 2008 20:30:53 dronnikov at gmail.com wrote:
> 
> Mixed usage of stdio & unistd causes troubles.
> Attached is a patch to fix it.
> 
> Could we invent unistd analogue for printf()?
> Or how do turn stdio buffering off?
> Or we end up fflush()ing any byte we send...

Hi,
maybe something like this?
	/* Force the output to be unbuffered.*/
	setbuf(stdout, (char *) 0);

Ciao,
Tito
> 
> Plz, do apply.
> 
> --
> Vladimir
> 
> 





More information about the busybox mailing list