Unix and Linux Discussions Tagged with warning |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
15 |
47,349 |
Solaris |
|
|
|
3 |
6,227 |
OS X (Apple) |
|
|
|
2 |
2,851 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
1,717 |
Shell Programming and Scripting |
|
|
|
14 |
14,610 |
Programming |
|
|
|
17 |
16,675 |
Shell Programming and Scripting |
|
|
|
2 |
3,268 |
Shell Programming and Scripting |
|
|
|
6 |
4,302 |
Shell Programming and Scripting |
|
|
|
1 |
6,667 |
Programming |
|
|
|
1 |
1,997 |
Solaris |
|
|
|
3 |
12,402 |
Programming |
|
|
|
5 |
5,638 |
HP-UX |
|
|
|
2 |
20,353 |
Solaris |
|
|
|
1 |
5,182 |
Solaris |
|
|
|
0 |
12,187 |
Shell Programming and Scripting |
|
|
|
1 |
4,382 |
Shell Programming and Scripting |
|
|
|
0 |
2,360 |
OS X Support RSS |
|
|
|
4 |
13,171 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
7,817 |
Solaris |
|
|
|
1 |
4,831 |
Shell Programming and Scripting |
|
|
|
1 |
15,140 |
Shell Programming and Scripting |
|
|
|
1 |
3,202 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
5,828 |
Solaris |
|
|
|
3 |
9,888 |
AIX |
|
|
|
0 |
3,791 |
AIX |
|
|
|
2 |
2,098 |
Programming |
|
|
|
1 |
3,101 |
Shell Programming and Scripting |
|
|
|
3 |
4,918 |
Shell Programming and Scripting |
|
|
|
0 |
2,003 |
Complex Event Processing RSS News |
|
|
|
2 |
10,024 |
Shell Programming and Scripting |
|
|
|
2 |
4,912 |
AIX |
|
|
|
16 |
151,675 |
Programming |
|
|
|
3 |
3,302 |
Filesystems, Disks and Memory |
|
|
|
4 |
9,595 |
Programming |
|
|
|
1 |
3,533 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
25,247 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
3,298 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,263 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
8,350 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,922 |
UNIX for Dummies Questions & Answers |
XtAppWarning() XtAppWarning()
Name
XtAppWarning - call the low-level warning handler.
Synopsis
void XtAppWarning(app_context, message)
XtAppContext app_context;
String message;
Inputs
app_context
Specifies the application context.
message Specifies the warning message that is to be reported.
Description
XtAppWarning() passes its arguments to the installed low-level warning handler. On POSIX systems, the default handler is _XtDefaultWarn-
ing(). It prints the message to the stderr stream and returns.
Usage
To report fatal error messages and exit, use XtAppError() or XtAppErrorMsg(). To change the low-level warning handler, use XtAppSetWarn-
ingHandler().
XtAppWarning() calls the "low-level" warning handler. It is better to use XtAppWarningMsg() which calls the "high-level" warning handler.
The high-level handler looks up the warning message in a resource database and so allows for customization and internationalization of
warning messages.
Although the Intrinsics interface allows separate error and warning handlers for each application context, most implementations will sup-
port only a single set of handlers. When a new handler is installed, it will be used in all application contexts.
See Also
XtAppError(1), XtAppErrorMsg(1), XtAppSetErrorHandler(1), XtAppSetErrorMsgHandler(1), XtAppSetWarningHandler(1), XtAppSetWarningMsgHan-
dler(1), XtAppWarningMsg(1),
XtErrorHandler(2), XtErrorMsgHandler(2).
Xt - Error Handling XtAppWarning()