trying putting newlines in the strings like this:
receive overflow\n
- Original Message -
From: Edward King zhan...@neusoft.com
To: freebsd-questions@freebsd.org
Sent: Monday, January 5, 2009 2:29:23 AM GMT -05:00 US/Canada Eastern
Subject: why printf() don't work?
I
On Mon, 5 Jan 2009 15:12:12 + (UTC), Tom Marchand m0rch...@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
On January 5, 2009 02:29:23 am Edward King wrote:
I use FreeBSD7.0,and use signal,like follows:
signal(SIGHUP,sig_hup);
signal(SIGIO,sig_io);
when I run call following code,it can run,but I find a puzzled question,it
should print some information,such as printf(execute main()) will print
Le Mon, 05 Jan 2009 15:29:23 +0800,
Edward King zhan...@neusoft.com a écrit :
I use FreeBSD7.0,and use signal,like follows:
signal(SIGHUP,sig_hup);
signal(SIGIO,sig_io);
when I run call following code,it can run,but I find a puzzled
question,it should print some information,such as
I use FreeBSD7.0,and use signal,like follows:
signal(SIGHUP,sig_hup);
signal(SIGIO,sig_io);
when I run call following code,it can run,but I find a puzzled question,it
should print some information,such as printf(execute main()) will print
execute main(),but in fact,printf fuction print none!!!