GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XmtErrorMsg(3) FreeBSD Library Functions Manual XmtErrorMsg(3)

XmtErrorMsg(), XmtWarningMsg() - print an error message and exit or print a warning message and return.

#include <Xmt/Xmt.h>

void XmtErrorMsg(String name, String type, String msg, ...)

void XmtWarningMsg(String name, String type, String msg, ...)

INPUTS
name
The name of the procedure, widget, or module that is issuing the error message.
type
The type of the error message.
msg
The default text of the message. The message may contain printf()-style substitutions to be filled in from the argument list.
...
A printf()-style variable-length argument list of values to be substituted into the msg argument.

XmtErrorMsg() 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.

Chapter 8, Utility Functions,
XtErrorMsg(), XtWarningMsg().
Motif Tools Xmt

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.