summaryrefslogtreecommitdiff
path: root/lib/libXt/man/XtErrorMsg.man
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2020-01-14 20:49:02 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2020-01-14 20:49:02 +0000
commit332defa5d8762e8c04e4e707c08ae3893173581f (patch)
tree3d1096bd168085fd8eac02831142c2466f9b2d26 /lib/libXt/man/XtErrorMsg.man
parentc6b1589c2baee04df73cce89e6ffdaabe9a91a87 (diff)
Update to libXt 1.2.0. Tested by tb@
Diffstat (limited to 'lib/libXt/man/XtErrorMsg.man')
-rw-r--r--lib/libXt/man/XtErrorMsg.man72
1 files changed, 25 insertions, 47 deletions
diff --git a/lib/libXt/man/XtErrorMsg.man b/lib/libXt/man/XtErrorMsg.man
index 870a9a3a1..6f7371fbd 100644
--- a/lib/libXt/man/XtErrorMsg.man
+++ b/lib/libXt/man/XtErrorMsg.man
@@ -31,88 +31,66 @@
.ds xC Inter-Client Communication Conventions Manual
.ds Rn 3
.ds Vn 2.2
-.hw XtError-Msg XtSet-Error-Msg-Handler XtSet-Warning-Msg-Handler XtWarning-Msg wid-get
+.hw XtError-Msg XtSet-Error-Msg-Handler XtSet-Warning-Msg-Handler
+.hw XtWarning-Msg wid-get
.na
-.de Ds
-.nf
-.\\$1D \\$2 \\$1
-.ft CW
-.ps \\n(PS
-.\".if \\n(VS>=40 .vs \\n(VSu
-.\".if \\n(VS<=39 .vs \\n(VSp
-..
-.de De
-.ce 0
-.if \\n(BD .DF
-.nr BD 0
-.in \\n(OIu
-.if \\n(TM .ls 2
-.sp \\n(DDu
-.fi
-..
-.de IN \" send an index entry to the stderr
-..
-.de Pn
-.ie t \\$1\fB\^\\$2\^\fR\\$3
-.el \\$1\fI\^\\$2\^\fP\\$3
-..
-.de ZN
-.ie t \fB\^\\$1\^\fR\\$2
-.el \fI\^\\$1\^\fP\\$2
-..
-.ny0
.TH XtErrorMsg __libmansuffix__ __xorgversion__ "XT COMPATIBILITY FUNCTIONS"
.SH NAME
XtErrorMsg, XtSetErrorMsgHandler, XtWarningMsg, XtSetWarningMsgHandler \- high-level error handlers
.SH SYNTAX
+#include <X11/Intrinsic.h>
.HP
-void XtErrorMsg(String \fIname\fP, String \fItype\fP, String \fIclass\fP,
-String \fIdefault\fP, String *\fIparams\fP, Cardinal *\fInum_params\fP);
+void XtErrorMsg(const char *\fIname\fP,
+const char *\fItype\fP,
+const char *\fIclass\fP,
+const char *\fIdefaultMsg\fP,
+String *\fIparams\fP, Cardinal *\fInum_params\fP);
.HP
void XtSetErrorMsgHandler(XtErrorMsgHandler \fImsg_handler\fP);
.HP
void XtSetWarningMsgHandler(XtErrorMsgHandler \fImsg_handler\fP);
.HP
-void XtWarningMsg(String \fIname\fP, String \fItype\fP, String \fIclass\fP,
-String \fIdefault\fP, String *\fIparams\fP, Cardinal *\fInum_params\fP);
+void XtWarningMsg(const char *\fIname\fP,
+const char *\fItype\fP,
+const char *\fIclass\fP,
+const char *\fIdefaultMsg\fP,
+String *\fIparams\fP, Cardinal *\fInum_params\fP);
.SH ARGUMENTS
-.ds Cl
.IP \fIclass\fP 1i
-Specifies the resource class\*(Cl.
+Specifies the resource class of the error message.
.IP \fIdefault\fP 1i
-Specifies the default message to use\*(Dm.
+Specifies the default message to use.
.IP \fIname\fP 1i
Specifies the general kind of error.
.IP \fItype\fP 1i
Specifies the detailed name of the error.
-.ds Mh fatal error procedure, which should not return \
-or the nonfatal error procedure, which usually returns
.IP \fImsg_handler\fP 1i
-Specifies the new \*(Mh.
+Specifies the new fatal error procedure, which should not return
+or the nonfatal error procedure, which usually returns.
.IP \fInum_params\fP 1i
Specifies the number of values in the parameter list.
.IP \fIparams\fP 1i
Specifies a pointer to a list of values to be stored in the message.
.SH DESCRIPTION
The
-.ZN XtErrorMsg
+.B XtErrorMsg
function has been superceded by
-.ZN XtAppErrorMsg .
+.BR XtAppErrorMsg .
.LP
The
-.ZN XtSetErrorMsgHandler
+.B XtSetErrorMsgHandler
function has been superceded by
-.ZN XtAppSetErrorMsgHandler .
+.BR XtAppSetErrorMsgHandler .
.LP
The
-.ZN XtSetWarningMsgHandler
+.B XtSetWarningMsgHandler
function has been superceded by
-.ZN XtAppSetWarningMsgHandler .
+.BR XtAppSetWarningMsgHandler .
.LP
The
-.ZN XtWarningMsg
+.B XtWarningMsg
function has been superceded by
-.ZN XtAppWarningMsg
+.B XtAppWarningMsg
.SH "SEE ALSO"
.BR XtAppErrorMsg (__libmansuffix__)
.br