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