It has nothing to do with C (except the fact that most of the O.S. I know has API is in C).
It has to do with the implementation by the OS + runtime library of the printf and stderr. Anyhow, fputc is your friend. It doesn't solve your problem but is more likely to use when writing single non formatted character. The answer is probably fflush or setvbuf. This e-mail message has been sent by Elbit Systems Ltd. and is for the use of the intended recipients only. The message may contain information that is privileged or confidential. If you are not the intended recipient you are hereby notified that any use, distribution or copying of this communication is strictly prohibited, and you are requested to delete the e-mail and any attachments and notify the sender immediately. ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]