Use fprintf(stderr, ...) instead, as stderr is unbuffered by default.
James Toothman
About.com
Peter Jeremy wrote:
On Wed, Feb 27, 2008 at 12:08:28AM -0800, Sanjeev Kumar.S wrote:
I have a quick question, and I believe this will
be a common requirement.
This is a standard C question.
I do a print of some data and then immediately
in a next statement there is a crash.
...
Is there anyway to get the complete print
before executing the next instruction.
Look at fflush(3)
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"