|
NAMEXmtErrorMsg(), XmtWarningMsg() - print an error message and exit or print a warning message and return.SYNOPSIS#include <Xmt/Xmt.h>
void XmtErrorMsg(String name, String type, String msg, ...) void XmtWarningMsg(String name, String type, String msg, ...) ARGUMENTSINPUTS
DESCRIPTIONXmtErrorMsg() and XmtWarningMsg() are simplified interfaces to XtErrorMsg() and XtWarningMsg() which take an printf()-style argument list rather than an awkward array of arguments.These functions prepend the name argument, a colon and a space to the msg argument. Then they convert the argument list into an array of arguments, and call XtErrorMsg() or XtWarningMsg() to display the message. They passes name and type as the name and type of the message. XmtErrorMsg() passes ``XmtError'' as the class of the message and XmtWarningMsg() passes ``XmtWarning'' as the message class. The message name, class, and type can be used to provide translated versions of error and warning messages in a special Xt error database. Note that XmtErrorMsg() causes the application to exit, while XmtWarningMsg() prints a warning message and returns. SEE ALSOChapter 8, Utility Functions,XtErrorMsg(), XtWarningMsg().
Visit the GSP FreeBSD Man Page Interface. |