Error messages to the console
Sgt Richard Gautier
gautier at charly.taclog.af.mil
Fri May 17 11:59:05 AEST 1991
For standard error messages of the OOOPS, I messed up
variety, I would depend on just writing the output to
stderr with a fprintf(stderr,"OOPS");
However, if you must write to the console, you can
open /dev/console on most Unix boxes, and fprintf your
info to that. On some Unix boxes, there is an errorlog
that is constantly checked and sent to the console (used
for DISK crashes, etc.) Do a ps and see if you have any
cat -u processes running for console.
Rich Gautier
gautier at taclg.af.mil
More information about the Comp.unix.questions
mailing list