2 .TH report 3mLib "20 June 1999" mLib
4 report \- report errors
7 .B "#include <mLib/report.h>"
9 .BI "void moan(const char *" f ", ...);"
10 .BI "void die(int " status ", const char *" f ", ...);"
15 function emits a message to the standard error stream consisting of the
16 program's name (as read by the
19 .BR quis (3mLib) for details),
20 a colon, a space, and the
24 followed by a newline. This is a handy way to report nonfatal errors in
29 function emits a message to the standard error stream, just as for
31 above, and then calls the
33 function with argument
35 to halt the program. This is a handy way to report fatal errors in a
41 Mark Wooding, <mdw@nsict.org>