why printf() don't work?

Polytropon freebsd at edvax.de
Mon Jan 5 08:48:23 PST 2009


On Mon, 5 Jan 2009 15:12:12 +0000 (UTC), Tom Marchand <m0rchand at comcast.net> wrote:
> trying putting newlines in the strings like this: 
> 
>    "receive overflow\n" 

You can add

	fflush(stdout);

to force the output, even if no \n is appended. But as it has
been mentioned before, don't forget to

	#include <stdio.h>

:-)


-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list