summaryrefslogtreecommitdiff
path: root/man/XtAppErrorMsg.man
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-03-23 06:46:42 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-04-16 18:21:16 -0400
commit149159df368aaa50db9e3e02f725d147ff557dbd (patch)
treebdaff74b26095d6b094d8bed348145bc37f67790 /man/XtAppErrorMsg.man
parente5a1e228e7ab7332d46db9278fa7af85ae889e70 (diff)
downloadxorg-lib-libXt-149159df368aaa50db9e3e02f725d147ff557dbd.tar.gz
updated manual pages' C prototypes to agree with the header-files.
This takes into account the _CONST_X_STRING feature, distinguishing between String and char* and const char*, but also in several cases, such as XtSessionGetToken, the manual page was wrong. Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> Conflicts: man/XtAppErrorMsg.man
Diffstat (limited to 'man/XtAppErrorMsg.man')
-rw-r--r--man/XtAppErrorMsg.man16
1 files changed, 8 insertions, 8 deletions
diff --git a/man/XtAppErrorMsg.man b/man/XtAppErrorMsg.man
index 70e5700..bc5be59 100644
--- a/man/XtAppErrorMsg.man
+++ b/man/XtAppErrorMsg.man
@@ -40,25 +40,25 @@
XtAppErrorMsg, XtAppSetErrorMsgHandler, XtAppSetWarningMsgHandler, XtAppWarningMsg \- high-level error handlers
.SH SYNTAX
.HP
-void XtAppErrorMsg(XtAppContext \fIapp_context\fP, String \fIname\fP, String
-\fItype\fP, String \fIclass\fP, String \fIdefault\fP, String *\fIparams\fP,
-Cardinal *\fInum_params\fP);
+XtErrorMsgHandler XtAppErrorMsg(XtAppContext \fIapp_context\fP, 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 XtAppSetErrorMsgHandler(XtAppContext \fIapp_context\fP, XtErrorMsgHandler
+XtErrorMsgHandler XtAppSetErrorMsgHandler(XtAppContext \fIapp_context\fP, XtErrorMsgHandler
\fImsg_handler\fP);
.HP
void XtAppSetWarningMsgHandler(XtAppContext \fIapp_context\fP,
XtErrorMsgHandler \fImsg_handler\fP);
.HP
-void XtAppWarningMsg(XtAppContext \fIapp_context\fP, String \fIname\fP, String
-\fItype\fP, String \fIclass\fP, String \fIdefault\fP, String *\fIparams\fP,
-Cardinal *\fInum_params\fP);
+void XtAppWarningMsg(XtAppContext \fIapp_context\fP, 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
.IP \fIapp_context\fP 1i
Specifies the application context.
.IP \fIclass\fP 1i
Specifies the resource class of the error message.
-.IP \fIdefault\fP 1i
+.IP \fIdefaultMsg\fP 1i
Specifies the default message to use.
.IP \fIname\fP 1i
Specifies the general kind of error.