Unix and Linux Discussions Tagged with warning |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
15 |
66,959 |
Solaris |
|
|
|
3 |
8,410 |
OS X (Apple) |
|
|
|
2 |
3,304 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
2,362 |
Shell Programming and Scripting |
|
|
|
14 |
17,410 |
Programming |
|
|
|
17 |
17,893 |
Shell Programming and Scripting |
|
|
|
2 |
3,695 |
Shell Programming and Scripting |
|
|
|
6 |
5,061 |
Shell Programming and Scripting |
|
|
|
1 |
7,086 |
Programming |
|
|
|
1 |
2,151 |
Solaris |
|
|
|
3 |
12,604 |
Programming |
|
|
|
5 |
5,941 |
HP-UX |
|
|
|
2 |
20,687 |
Solaris |
|
|
|
1 |
5,765 |
Solaris |
|
|
|
0 |
12,547 |
Shell Programming and Scripting |
|
|
|
1 |
4,675 |
Shell Programming and Scripting |
|
|
|
0 |
2,508 |
OS X Support RSS |
|
|
|
4 |
13,672 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
7,960 |
Solaris |
|
|
|
1 |
4,980 |
Shell Programming and Scripting |
|
|
|
1 |
15,466 |
Shell Programming and Scripting |
|
|
|
1 |
3,386 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
6,610 |
Solaris |
|
|
|
3 |
10,100 |
AIX |
|
|
|
0 |
4,874 |
AIX |
|
|
|
2 |
2,265 |
Programming |
|
|
|
1 |
3,537 |
Shell Programming and Scripting |
|
|
|
3 |
5,080 |
Shell Programming and Scripting |
|
|
|
0 |
2,124 |
Complex Event Processing RSS News |
|
|
|
2 |
10,690 |
Shell Programming and Scripting |
|
|
|
2 |
5,223 |
AIX |
|
|
|
16 |
155,254 |
Programming |
|
|
|
3 |
3,596 |
Filesystems, Disks and Memory |
|
|
|
4 |
10,377 |
Programming |
|
|
|
1 |
4,143 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
26,614 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
3,718 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,589 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
8,792 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,586 |
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()