Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xtwarningmsg(3) [hpux man page]

XtWarningMsg()															    XtWarningMsg()

Name
  XtWarningMsg - call the high-level warning handler.

Synopsis
  void XtWarningMsg(name, type, class, default, params, num_params)
	 String name;
	 String type;
	 String class;
	 String default;
	 String *params;
	 Cardinal *num_params;

Inputs
  name	    Specifies the general kind of error.

  type	    Specifies the detailed name of the error.

  class     Specifies the resource class of the error.

  default   Specifies the default message to use if no message is found in the database.

  params    Specifies an array of values to be inserted into the message.

  num_params
	    Specifies the number of elements in params.

Availability
  XtWarningMsg() has been superseded by XtAppWarningMsg().

Description
  XtWarningMsg()  passes  all of its arguments to the installed high-level warning handler.  The default high-level warning handler is _XtDe-
  faultWarningMsg().  It calls XtAppGetErrorDatabaseText() to lookup an error message of the specified name, type, and	class  in  the	error
  database.  If no such message is found, XtAppGetErrorDatabaseText() returns the specified default message.  In either case, _XtDefaultWarn-
  ingMsg() does a printf-style substitution of params into the message, and passes the resulting text to the  low-level  warning  handler  by
  calling XtWarning().

Usage
  XtWarningMsg()  has  been  superseded  by  XtAppWarningMsg(), which performs the same function on a per-application context basis.  XtWarn-
  ingMsg() now calls XtAppWarningMsg() passing the default application context created by XtInitialize().  Very few  programs  need  multiple
  application  contexts,  and  you  can continue to use XtWarningMsg() if you initialize your application with XtInitialize().	We recommend,
  however, that you use XtAppInitialize(), XtAppWarningMsg(), and the other XtApp*() application context specific functions.

  See XtAppWarningMsg() for more information.

See Also
  XtAppErrorMsg(1), XtAppWarningMsg(1).

Xt - Error Handling														    XtWarningMsg()

Check Out this Related Man Page

XtErrorMsg(3Xt) 					    XT COMPATIBILITY FUNCTIONS						   XtErrorMsg(3Xt)

NAME
XtErrorMsg, XtSetErrorMsgHandler, XtWarningMsg, XtSetWarningMsgHandler - high-level error handlers SYNTAX
void XtErrorMsg(name, type, class, default, params, num_params) String name; String type; String class; String default; String *params; Cardinal *num_params; void XtSetErrorMsgHandler(msg_handler) XtErrorMsgHandler msg_handler; void XtSetWarningMsgHandler(msg_handler) XtErrorMsgHandler msg_handler; void XtWarningMsg(name, type, class, default, params, num_params) String name; String type; String class; String default; String *params; Cardinal *num_params; ARGUMENTS
class Specifies the resource class. default Specifies the default message to use. name Specifies the general kind of error. type Specifies the detailed name of the error. or the nonfatal error procedure, which usually returns msg_handler Specifies the new fatal error procedure, which should not return. num_params Specifies the number of values in the parameter list. params Specifies a pointer to a list of values to be stored in the message. DESCRIPTION
The XtErrorMsg function has been superceded by XtAppErrorMsg. The XtSetErrorMsgHandler function has been superceded by XtAppSetErrorMsgHandler. The XtSetWarningMsgHandler function has been superceded by XtAppSetWarningMsgHandler. The XtWarningMsg function has been superceded by XtAppWarningMsg SEE ALSO
X Toolkit Intrinsics - C Language Interface Xlib - C Language X Interface X Version 11 Release 6.6 XtErrorMsg(3Xt)
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

warning message

I have received a warning message, does anyone know what this means? warning: userdel processing continues resource: /var/opt1k/sco/unix/5.0.6 Ga/etx/group-t could not be allocated due to : cannot securly create new file. (0 Replies)
Discussion started by: qphillips
0 Replies

2. Shell Programming and Scripting

Error in unix

I am using tuxedo for our application.when i tried to compile my application, i get "PCC-F - NOERRFile , unable to open error message file, Facility PR2" error message.. Please let me know how to resolve it (0 Replies)
Discussion started by: Jayashree
0 Replies

3. Programming

Help - Cast converts default int return type

What does the warning message 724 "Cast converts default int return type to." tell me. I am new to C. (used it some in college). We are migrating our c-code to 10.2.0.3.0. The programs compiled clean. However there were several warning messages that kick out. The most prominent warning is: ... (5 Replies)
Discussion started by: rtgreen
5 Replies

4. UNIX for Dummies Questions & Answers

Warning message while makefile compilation

Hi all, I am trying to create an executable, but when the .pc file converting to .c file I am getting lots of warning message like of these 3 lines. Any idea why I am getting these lines? Any configuration issues? What exactly needs to be done to solve these warning messages? ... (0 Replies)
Discussion started by: nsurendiran
0 Replies

5. Emergency UNIX and Linux Support

How to ignore Netout Error.?

Hi All , Am using unix KSH . I would like to clarify two doubts. Whenever am transfering the zero size file am getting the warning message netout. files will be transferred to target server or not? I have used the code as if then VAR="ftp.sh -c put ${FILE} ${FILE}... (2 Replies)
Discussion started by: Venkatesh1
2 Replies