diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-03-23 06:46:42 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-04-16 18:21:16 -0400 |
commit | 149159df368aaa50db9e3e02f725d147ff557dbd (patch) | |
tree | bdaff74b26095d6b094d8bed348145bc37f67790 /man | |
parent | e5a1e228e7ab7332d46db9278fa7af85ae889e70 (diff) |
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')
44 files changed, 175 insertions, 135 deletions
diff --git a/man/XtAddCallback.man b/man/XtAddCallback.man index 5d757c5..d72f488 100644 --- a/man/XtAddCallback.man +++ b/man/XtAddCallback.man @@ -40,19 +40,19 @@ XtAddCallback, XtAddCallbacks, XtRemoveCallback, XtRemoveCallbacks, XtRemoveAllCallbacks \- add and remove callback procedures .SH SYNTAX .HP -void XtAddCallback(Widget \fIw\fP, String \fIcallback_name\fP, XtCallbackProc +void XtAddCallback(Widget \fIw\fP, const char *\fIcallback_name\fP, XtCallbackProc \fIcallback\fP, XtPointer \fIclient_data\fP); .HP -void XtAddCallbacks(Widget \fIw\fP, String \fIcallback_name\fP, XtCallbackList +void XtAddCallbacks(Widget \fIw\fP, const char *\fIcallback_name\fP, XtCallbackList \fIcallbacks\fP); .HP -void XtRemoveCallback(Widget \fIw\fP, String \fIcallback_name\fP, +void XtRemoveCallback(Widget \fIw\fP, const char *\fIcallback_name\fP, XtCallbackProc \fIcallback\fP, XtPointer \fIclient_data\fP); .HP -void XtRemoveCallbacks(Widget \fIw\fP, String \fIcallback_name\fP, +void XtRemoveCallbacks(Widget \fIw\fP, const char *\fIcallback_name\fP, XtCallbackList \fIcallbacks\fP); .HP -void XtRemoveAllCallbacks(Widget \fIw\fP, String \fIcallback_name\fP, +void XtRemoveAllCallbacks(Widget \fIw\fP, const char *\fIcallback_name\fP); .SH ARGUMENTS .IP \fIcallback\fP 1i Specifies the callback procedure. diff --git a/man/XtAddInput.man b/man/XtAddInput.man index 770e716..ec5b6b5 100644 --- a/man/XtAddInput.man +++ b/man/XtAddInput.man @@ -41,7 +41,7 @@ XtAddInput, XtAddTimeOut, XtAddWorkProc \- register input, timeout, and workproc XtInputId XtAddInput(int \fIsource\fP, XtPointer \fIcondition\fP, XtInputCallbackProc \fIproc\fP, XtPointer \fIclient_data\fP); .HP -XtIntervalId XtAddTimeOut(unsigned long \fIinterval\fP, XtInputCallbackProc +XtIntervalId XtAddTimeOut(unsigned long \fIinterval\fP, XtTimerCallbackProc \fIproc\fP, XtPointer \fIclient_data\fP); .HP XtWorkProcId XtAddWorkProc(XtWorkProc \fIproc\fP, XtPointer diff --git a/man/XtAppAddConverter.man b/man/XtAppAddConverter.man index d3264ac..013a189 100644 --- a/man/XtAppAddConverter.man +++ b/man/XtAppAddConverter.man @@ -39,13 +39,13 @@ XtAppAddConverter, XtAddConverter \- register resource converter .SH SYNTAX .HP -void XtAppAddConverter(XtAppContext \fIapp_context\fP, String \fIfrom_type\fP, -String \fIto_type\fP, XtConverter \fIconverter\fP, XtConvertArgList -\fIconvert_args\fP, Cardinal \fInum_args\fP); +void XtAppAddConverter(XtAppContext \fIapp_context\fP, const char *\fIfrom_type\fP, +const char *\fIto_type\fP, XtConverter \fIconverter\fP, +XtConvertArgList \fIconvert_args\fP, Cardinal \fInum_args\fP); .HP -void XtAddConverter(String \fIfrom_type\fP, String \fIto_type\fP, XtConverter -\fIconverter\fP, XtConvertArgList \fIconvert_args\fP, Cardinal -\fInum_args\fP); +void XtAddConverter(const char *\fIfrom_type\fP, const char *\fIto_type\fP, +XtConverter \fIconverter\fP, XtConvertArgList \fIconvert_args\fP, +Cardinal \fInum_args\fP); .SH ARGUMENTS .IP \fIapp_context\fP 1i Specifies the application context. diff --git a/man/XtAppCreateShell.man b/man/XtAppCreateShell.man index 1ca7e47..0bf0621 100644 --- a/man/XtAppCreateShell.man +++ b/man/XtAppCreateShell.man @@ -38,11 +38,11 @@ XtAppCreateShell, XtVaAppCreateShell \- create top-level widget instance .SH SYNTAX .HP -Widget XtAppCreateShell(String \fIapplication_name\fP, String -\fIapplication_class\fP, WidgetClass \fIwidget_class\fP, Display -*\fIdisplay\fP, ArgList \fIargs\fP, Cardinal \fInum_args\fP); +Widget XtAppCreateShell(const char *\fIapplication_name\fP, +const char *\fIapplication_class\fP, WidgetClass \fIwidget_class\fP, +Display *\fIdisplay\fP, ArgList \fIargs\fP, Cardinal \fInum_args\fP); .HP -Widget XtVaAppCreateShell(String \fIapplication_name\fP, String +Widget XtVaAppCreateShell(const char * \fIapplication_name\fP, const char * \fIapplication_class\fP, WidgetClass \fIwidget_class\fP, Display *\fIdisplay\fP, ...\^); .SH ARGUMENTS diff --git a/man/XtAppError.man b/man/XtAppError.man index 66d4590..c1d5f12 100644 --- a/man/XtAppError.man +++ b/man/XtAppError.man @@ -40,15 +40,15 @@ XtAppError, XtAppSetErrorHandler, XtAppSetWarningHandler, XtAppWarning \- low-level error handlers .SH SYNTAX .HP -void XtAppError(XtAppContext \fIapp_context\fP, String \fImessage\fP); +void XtAppError(XtAppContext \fIapp_context\fP, const char *\fImessage\fP); .HP -void XtAppSetErrorHandler(XtAppContext \fIapp_context\fP, XtErrorHandler +XtErrorHandler XtAppSetErrorHandler(XtAppContext \fIapp_context\fP, XtErrorHandler \fIhandler\fP); .HP -void XtAppSetWarningHandler(XtAppContext \fIapp_context\fP, XtErrorHandler +XtErrorHandler XtAppSetWarningHandler(XtAppContext \fIapp_context\fP, XtErrorHandler \fIhandler\fP); .HP -void XtAppWarning(XtAppContext \fIapp_context\fP, String \fImessage\fP); +void XtAppWarning(XtAppContext \fIapp_context\fP, const char *\fImessage\fP); .SH ARGUMENTS .IP \fIapp_context\fP 1i Specifies the application context. 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. diff --git a/man/XtAppGetErrorDatabase.man b/man/XtAppGetErrorDatabase.man index 3149e95..f38185d 100644 --- a/man/XtAppGetErrorDatabase.man +++ b/man/XtAppGetErrorDatabase.man @@ -41,9 +41,10 @@ XtAppGetErrorDatabase, XtAppGetErrorDatabaseText \- obtain error database .HP XrmDatabase *XtAppGetErrorDatabase(\^XtAppContext \fIapp_context\fP); .HP -void XtAppGetErrorDatabaseText(XtAppContext \fIapp_context\fP, char -*\fIname\fP, char *\fItype\fP, char *\fIclass\fP, char *\fIdefault\fP, char -*\fIbuffer_return\fP, int \fInbytes\fP, XrmDatabase \fIdatabase\fP); +void XtAppGetErrorDatabaseText(XtAppContext \fIapp_context\fP, +const char *\fIname\fP, const char *\fItype\fP, const char *\fIclass\fP, +const char *\fIdefault\fP, char *\fIbuffer_return\fP, int \fInbytes\fP, +XrmDatabase \fIdatabase\fP); .SH ARGUMENTS .IP \fIapp_context\fP 1i Specifies the application context. diff --git a/man/XtAppInitialize.man b/man/XtAppInitialize.man index 6332cf6..254c349 100644 --- a/man/XtAppInitialize.man +++ b/man/XtAppInitialize.man @@ -38,15 +38,15 @@ XtAppInitialize, XtVaAppInitialize \- initialize, open, or close a display .SH SYNTAX .HP -Widget XtAppInitialize(XtAppContext* \fIapp_context_return\fP, String -\fIapplication_class\fP, XrmOptionDescRec* \fIoptions\fP, Cardinal -\fInum_options\fP, int* \fIargc_in_out\fP, String* \fIargv_in_out\fP, String* -\fIfallback_resources\fP, ArgList \fIargs\fP, Cardinal \fInum_args\fP); +Widget XtAppInitialize(XtAppContext* \fIapp_context_return\fP, +const char *\fIapplication_class\fP, XrmOptionDescRec* \fIoptions\fP, +Cardinal \fInum_options\fP, int *\fIargc_in_out\fP, char **\fIargv_in_out\fP, +String *\fIfallback_resources\fP, ArgList \fIargs\fP, Cardinal \fInum_args\fP); .HP -Widget XtVaAppInitialize(XtAppContext* \fIapp_context_return\fP, String -\fIapplication_class\fP, XrmOptionDescRec* \fIoptions\fP, Cardinal -\fInum_options\fP, int* \fIargc_in_out\fP, String* \fIargv_in_out\fP, String* -\fIfallback_resources\fP, ...\^); +Widget XtVaAppInitialize(XtAppContext* \fIapp_context_return\fP, +const char *\fIapplication_class\fP, XrmOptionDescRec* \fIoptions\fP, +Cardinal \fInum_options\fP, int *\fIargc_in_out\fP, char **\fIargv_in_out\fP, +String *\fIfallback_resources\fP, ...\^); .SH ARGUMENTS .IP \fIapp_context_return\fP 1i Specifies the application context. diff --git a/man/XtAppSetTypeConverter.man b/man/XtAppSetTypeConverter.man index 9b03716..3a71b0b 100644 --- a/man/XtAppSetTypeConverter.man +++ b/man/XtAppSetTypeConverter.man @@ -38,14 +38,16 @@ XtAppSetTypeConverter, XtSetTypeConverter \- register resource converter .SH SYNTAX .HP -void XtAppSetTypeConverter(XtAppContext \fIapp_context\fP, String -\fIfrom_type\fP, String \fIto_type\fP, XtConverter \fIconverter\fP, -XtConvertArgList \fIconvert_args\fP, Cardinal \fInum_args\fP, XtCacheType -\fIcache_type\fP, XtDestructor \fIdestructor\fP); +void XtAppSetTypeConverter(XtAppContext \fIapp_context\fP, +const char *\fIfrom_type\fP, const char * \fIto_type\fP, +XtTypeConverter \fIconverter\fP, XtConvertArgList \fIconvert_args\fP, +Cardinal \fInum_args\fP, XtCacheType \fIcache_type\fP, +XtDestructor \fIdestructor\fP); .HP -void XtSetTypeConverter(String \fIfrom_type\fP, String \fIto_type\fP, -XtConverter \fIconverter\fP, XtConvertArgList \fIconvert_args\fP, Cardinal -\fInum_args\fP, XtCacheType \fIcache_type\fP, XtDestructor \fIdestructor\fP); +void XtSetTypeConverter(const char *\fIfrom_type\fP, const char *\fIto_type\fP, +XtTypeConverter \fIconverter\fP, XtConvertArgList \fIconvert_args\fP, +Cardinal \fInum_args\fP, XtCacheType \fIcache_type\fP, +XtDestructor \fIdestructor\fP); .SH ARGUMENTS .IP \fIapp_context\fP 1i Specifies the application context. diff --git a/man/XtCallActionProc.man b/man/XtCallActionProc.man index 9d336f8..fa2a347 100644 --- a/man/XtCallActionProc.man +++ b/man/XtCallActionProc.man @@ -38,8 +38,8 @@ XtCallActionProc \- invoke an action procedure directly .SH SYNTAX .HP -void XtCallActionProc(Widget \fIwidget\fP, String \fIaction\fP, XEvent* -\fIevent\fP, String* \fIparams\fP, Cardinal \fInum_params\fP); +void XtCallActionProc(Widget \fIwidget\fP, const char *\fIaction\fP, +XEvent *\fIevent\fP, String *\fIparams\fP, Cardinal \fInum_params\fP); .SH ARGUMENTS .IP \fIwidget\fP 1i Specifies the widget in which the action is to be invoked. Must be diff --git a/man/XtCallCallbacks.man b/man/XtCallCallbacks.man index 206842f..0d1a2df 100644 --- a/man/XtCallCallbacks.man +++ b/man/XtCallCallbacks.man @@ -38,8 +38,8 @@ XtCallCallbacks, XtCallCallbackList, XtHasCallbacks \- process callbacks .SH SYNTAX .HP -void XtCallCallbacks(Widget \fIw\fP, String \fIcallback_name\fP, XtPointer -\fIcall_data\fP); +void XtCallCallbacks(Widget \fIw\fP, const char *\fIcallback_name\fP, +XtPointer \fIcall_data\fP); .HP void XtCallCallbackList(Widget \fIw\fP, XtCallbackList \fIcallbacks\fP, XtPointer \fIcall_data\fP); @@ -47,7 +47,7 @@ XtPointer \fIcall_data\fP); typedef enum {XtCallbackNoList, XtCallbackHasNone, XtCallbackHasSome} XtCallbackStatus; .HP -XtCallbackStatus XtHasCallbacks(Widget \fIw\fP, String \fIcallback_name\fP); +XtCallbackStatus XtHasCallbacks(Widget \fIw\fP, const char *\fIcallback_name\fP); .SH ARGUMENTS .IP \fIcallback_name\fP 1i Specifies the callback list to be executed or checked. diff --git a/man/XtClass.man b/man/XtClass.man index cd88632..a3f8669 100644 --- a/man/XtClass.man +++ b/man/XtClass.man @@ -59,7 +59,7 @@ Boolean XtIsWidget(Widget \fIw\fP); .HP Boolean XtIsComposite(Widget \fIw\fP); .HP -Boolean XtIsConstraint(Widget \fIw\fP, +Boolean XtIsConstraint(Widget \fIw\fP); .HP Boolean XtIsShell(Widget \fIw\fP); .HP diff --git a/man/XtConvert.man b/man/XtConvert.man index 785b6e0..945ffaf 100644 --- a/man/XtConvert.man +++ b/man/XtConvert.man @@ -39,8 +39,9 @@ XtConvert, XtDirectConvert \- invoke resource converters .SH SYNTAX .HP -void XtConvert(Widget \fIw\fP, String \fIfrom_type\fP, XrmValuePtr \fIfrom\fP, -String \fIto_type\fP, XrmValuePtr \fIto_return\fP); +void XtConvert(Widget \fIw\fP, +const char *\fIfrom_type\fP, XrmValuePtr \fIfrom\fP, +const char *\fIto_type\fP, XrmValuePtr \fIto_return\fP); .HP void XtDirectConvert(XtConverter \fIconverter\fP, XrmValuePtr \fIargs\fP, Cardinal \fInum_args\fP, XrmValuePtr \fIfrom\fP, XrmValuePtr \fIto_return\fP); diff --git a/man/XtConvertAndStore.man b/man/XtConvertAndStore.man index b8ce69c..25ce20c 100644 --- a/man/XtConvertAndStore.man +++ b/man/XtConvertAndStore.man @@ -38,10 +38,11 @@ XtConvertAndStore, XtCallConverter \- invoke resource converters .SH SYNTAX .HP -Boolean XtConvertAndStore(Widget \fIwidget\fP, String \fIfrom_type\fP, -XrmValuePtr \fIfrom\fP, String \fIto_type\fP, XrmValuePtr \fIto_in_out\fP); +Boolean XtConvertAndStore(Widget \fIwidget\fP, +const char *\fIfrom_type\fP, XrmValuePtr \fIfrom\fP, +const char *\fIto_type\fP, XrmValuePtr \fIto_in_out\fP); .HP -Boolean XtCallConverter(Display* \fIdpy\fP, XtConverter \fIconverter\fP, +Boolean XtCallConverter(Display* \fIdpy\fP, XtTypeConverter \fIconverter\fP, XrmValuePtr \fIargs\fP, Cardinal \fInum_args\fP, XrmValuePtr \fIfrom\fP, XrmValuePtr \fIto_in_out\fP, XtCacheRef* \fIcache_ref_return\fP); .SH ARGUMENTS diff --git a/man/XtCreateApplicationShell.man b/man/XtCreateApplicationShell.man index 866b716..7ac04cb 100644 --- a/man/XtCreateApplicationShell.man +++ b/man/XtCreateApplicationShell.man @@ -39,8 +39,8 @@ XtCreateApplicationShell \- create top-level widget instance .SH SYNTAX .HP -Widget XtCreateApplicationShell(String \fIname\fP, WidgetClass -\fIwidget_class\fP, ArgList \fIargs\fP, Cardinal \fInum_args\fP); +Widget XtCreateApplicationShell(const char *\fIname\fP, WidgetClass \fIwidget_class\fP, +ArgList \fIargs\fP, Cardinal \fInum_args\fP); .SH ARGUMENTS .IP \fIname\fP 1i Specifies the name of the shell. diff --git a/man/XtCreatePopupShell.man b/man/XtCreatePopupShell.man index 395fdee..00846a7 100644 --- a/man/XtCreatePopupShell.man +++ b/man/XtCreatePopupShell.man @@ -39,10 +39,10 @@ XtCreatePopupShell, XtVaCreatePopupShell \- create a popup shell .SH SYNTAX .HP -Widget XtCreatePopupShell(String \fIname\fP, WidgetClass \fIwidget_class\fP, +Widget XtCreatePopupShell(const char *\fIname\fP, WidgetClass \fIwidget_class\fP, Widget \fIparent\fP, ArgList \fIargs\fP, Cardinal \fInum_args\fP); .HP -Widget XtVaCreatePopupShell(String \fIname\fP, WidgetClass \fIwidget_class\fP, +Widget XtVaCreatePopupShell(const char *\fIname\fP, WidgetClass \fIwidget_class\fP, Widget \fIparent\fP, ...\^); .SH ARGUMENTS .IP \fIargs\fP 1i diff --git a/man/XtCreateSelectionRequest.man b/man/XtCreateSelectionRequest.man index 6f5e748..ac28b6a 100644 --- a/man/XtCreateSelectionRequest.man +++ b/man/XtCreateSelectionRequest.man @@ -39,7 +39,7 @@ XtCreateSelectionRequest, XtSendSelectionRequest, XtCancelSelectionRequest \- bundle multiple selection conversion requests into a single request using MULTIPLE target .SH SYNTAX .HP -void XtCreateSelectionRequest(Widget \fIrequestor\fP, Atom \fIselection\fP): +void XtCreateSelectionRequest(Widget \fIrequestor\fP, Atom \fIselection\fP); .HP void XtSendSelectionRequest(Widget \fIrequestor\fP, Atom \fIselection\fP, Time \fItime\fP); diff --git a/man/XtCreateWidget.man b/man/XtCreateWidget.man index 248fcf0..f0f87d0 100644 --- a/man/XtCreateWidget.man +++ b/man/XtCreateWidget.man @@ -40,17 +40,17 @@ XtCreateWidget, XtVaCreateWidget, XtCreateManagedWidget, XtVaCreateManagedWidget, XtDestroyWidget \- create and destroy widgets .SH SYNTAX .HP -Widget XtCreateWidget(String \fIname\fP, WidgetClass \fIwidget_class\fP, +Widget XtCreateWidget(const char *\fIname\fP, WidgetClass \fIwidget_class\fP, Widget \fIparent\fP, ArgList \fIargs\fP, Cardinal \fInum_args\fP); .HP -Widget XtVaCreateWidget(String \fIname\fP, WidgetClass \fIwidget_class\fP, +Widget XtVaCreateWidget(const char *\fIname\fP, WidgetClass \fIwidget_class\fP, Widget \fIparent\fP, ...\^); .HP -Widget XtCreateManagedWidget(String \fIname\fP, WidgetClass +Widget XtCreateManagedWidget(const char *\fIname\fP, WidgetClass \fIwidget_class\fP, Widget \fIparent\fP, ArgList \fIargs\fP, Cardinal \fInum_args\fP); .HP -Widget XtVaCreateManagedWidget(String \fIname\fP, WidgetClass +Widget XtVaCreateManagedWidget(const char *\fIname\fP, WidgetClass \fIwidget_class\fP, Widget \fIparent\fP, ...\^); .HP void XtDestroyWidget(Widget \fIw\fP); diff --git a/man/XtDisplayInitialize.man b/man/XtDisplayInitialize.man index e0258e4..0d43d87 100644 --- a/man/XtDisplayInitialize.man +++ b/man/XtDisplayInitialize.man @@ -39,15 +39,19 @@ XtDisplayInitialize, XtOpenDisplay, XtDatabase, XtScreenDatabase, XtCloseDisplay \- initialize, open, or close a display .SH SYNTAX .HP -void XtDisplayInitialize(XtAppContext \fIapp_context\fP, Display -*\fIdisplay\fP, String \fIapplication_name\fP, String \fIapplication_class\fP, -XrmOptionDescRec *\fIoptions\fP, Cardinal \fInum_options\fP, int *\fIargc\fP, -String *\fIargv\fP); +void XtDisplayInitialize(XtAppContext \fIapp_context\fP, +Display *\fIdisplay\fP, +const char *\fIapplication_name\fP, +const char *\fIapplication_class\fP, +XrmOptionDescRec *\fIoptions\fP, Cardinal \fInum_options\fP, +int *\fIargc\fP, char **\fIargv\fP); .HP -Display *XtOpenDisplay(XtAppContext \fIapp_context\fP, String -\fIdisplay_string\fP, String \fIapplication_name\fP, String -\fIapplication_class\fP, XrmOptionDescRec *\fIoptions\fP, Cardinal -\fInum_options\fP, int *\fIargc\fP, String *\fIargv\fP); +Display *XtOpenDisplay(XtAppContext \fIapp_context\fP, +const char *\fIdisplay_string\fP, +const char *\fIapplication_name\fP, +const char *\fIapplication_class\fP, +XrmOptionDescRec *\fIoptions\fP, Cardinal \fInum_options\fP, +int *\fIargc\fP, char **\fIargv\fP); .HP void XtCloseDisplay(Display *\fIdisplay\fP); .HP diff --git a/man/XtDisplayStringConversionWarning.man b/man/XtDisplayStringConversionWarning.man index 4ad91b6..3ff5dba 100644 --- a/man/XtDisplayStringConversionWarning.man +++ b/man/XtDisplayStringConversionWarning.man @@ -39,8 +39,9 @@ XtDisplayStringConversionWarning \- issue a conversion warning message .SH SYNTAX .HP -void XtDisplayStringConversionWarning(Display* \fIdisplay\fP, String -\fIfrom_value\fP, \fIto_type\fP); +void XtDisplayStringConversionWarning(Display* \fIdisplay\fP, +const char *\fIfrom_value\fP, +const char *\fIto_type\fP); .SH ARGUMENTS .IP \fIdisplay\fP 1i Specifies the display connection with which the conversion is associated. diff --git a/man/XtError.man b/man/XtError.man index 6fe4796..9556221 100644 --- a/man/XtError.man +++ b/man/XtError.man @@ -38,13 +38,13 @@ XtError, XtSetErrorHandler, XtSetWarningHandler, XtWarning \- low-level error handlers .SH SYNTAX .HP -void XtError(String \fImessage\fP); +void XtError(const char *\fImessage\fP); .HP -void XtSetErrorHandler(XtErrorHandler \fIhandler\fP): +void XtSetErrorHandler(XtErrorHandler \fIhandler\fP); .HP void XtSetWarningHandler(XtErrorHandler \fIhandler\fP); .HP -void XtWarning(String \fImessage\fP); +void XtWarning(const char *\fImessage\fP); .SH ARGUMENTS .IP \fImessage\fP 1i Specifies the nonfatal error message that is to be reported. diff --git a/man/XtErrorMsg.man b/man/XtErrorMsg.man index f085a04..a453a04 100644 --- a/man/XtErrorMsg.man +++ b/man/XtErrorMsg.man @@ -39,15 +39,21 @@ XtErrorMsg, XtSetErrorMsgHandler, XtWarningMsg, XtSetWarningMsgHandler \- high-level error handlers .SH SYNTAX .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 .IP \fIclass\fP 1i Specifies the resource class of the error message. diff --git a/man/XtFindFile.man b/man/XtFindFile.man index 856f5b7..ae32bef 100644 --- a/man/XtFindFile.man +++ b/man/XtFindFile.man @@ -38,7 +38,7 @@ XtFindFile \- search for a file using substitutions in the path list .SH SYNTAX .HP -String XtFindFile(String \fIpath\fP, Substitution \fIsubstitutions\fP, +String XtFindFile(const char *\fIpath\fP, Substitution \fIsubstitutions\fP, Cardinal \fInum_substitutions\fP, XtFilePredicate \fIpredicate\fP); .SH ARGUMENTS .IP \fIpath\fP 1i diff --git a/man/XtGetErrorDatabase.man b/man/XtGetErrorDatabase.man index deb768b..7db7f2f 100644 --- a/man/XtGetErrorDatabase.man +++ b/man/XtGetErrorDatabase.man @@ -41,9 +41,11 @@ XtGetErrorDatabase, XtGetErrorDatabaseText \- obtain error database .HP XrmDatabase *XtGetErrorDatabase(void); .HP -void XtGetErrorDatabaseText(char *\fIname\fP, char *\fItype\fP, char -*\fIclass\fP, char *\fIdefault\fP, char *\fIbuffer_return\fP, int -\fInbytes\fP); +void XtGetErrorDatabaseText(const char *\fIname\fP, +const char *\fItype\fP, +const char *\fIclass\fP, +const char *\fIdefaultMsg\fP, +char *\fIbuffer_return\fP, int \fInbytes\fP); .SH ARGUMENTS .IP \fIbuffer_return\fP 1i Specifies the buffer into which the error message is to be returned. diff --git a/man/XtGetKeysymTable.man b/man/XtGetKeysymTable.man index 67eb645..6837f94 100644 --- a/man/XtGetKeysymTable.man +++ b/man/XtGetKeysymTable.man @@ -39,7 +39,7 @@ XtGetKeysymTable, XtKeysymToKeycodeList \- query keysyms and keycodes .SH SYNTAX .HP -Keysym* XtGetKeysymTable(Display* \fIdisplay\fP, KeyCode* +KeySym* XtGetKeysymTable(Display* \fIdisplay\fP, KeyCode* \fImin_keycode_return\fP, int *\fIkeysyms_per_keycode_return\fP); .HP void XtKeysymToKeycodeList(Display* \fIdisplay\fP, KeySym \fIkeysym\fP, diff --git a/man/XtGetSelectionValue.man b/man/XtGetSelectionValue.man index 8121737..978df8d 100644 --- a/man/XtGetSelectionValue.man +++ b/man/XtGetSelectionValue.man @@ -39,13 +39,17 @@ XtGetSelectionValue, XtGetSelectionValues \- obtain selection values .SH SYNTAX .HP -void XtGetSelectionValue(Widget \fIw\fP, Atom \fIselection\fP, Atom -\fItarget\fP, XtSelectionCallbackProc \fIcallback\fP, XtPointer -\fIclient_data\fP, Time \fItime\fP); +void XtGetSelectionValue(Widget \fIw\fP, +Atom \fIselection\fP, +Atom \fItarget\fP, +XtSelectionCallbackProc \fIcallback\fP, +XtPointer *\fIclient_data\fP, Time \fItime\fP); .HP -void XtGetSelectionValues(Widget \fIw\fP, Atom \fIselection\fP, Atom -*\fItargets\fP, int \fIcount\fP, XtSelectionCallbackProc \fIcallback\fP, -XtPointer \fIclient_data\fP, Time \fItime\fP); +void XtGetSelectionValues(Widget \fIw\fP, +Atom \fIselection\fP, +Atom *\fItargets\fP, int \fIcount\fP, +XtSelectionCallbackProc \fIcallback\fP, +XtPointer *\fIclient_data\fP, Time \fItime\fP); .SH ARGUMENTS .IP \fIcallback\fP 1i Specifies the callback procedure that is to be called when the selection value has been obtained. diff --git a/man/XtGetSubresources.man b/man/XtGetSubresources.man index 3b33028..dc932c1 100644 --- a/man/XtGetSubresources.man +++ b/man/XtGetSubresources.man @@ -39,13 +39,19 @@ XtGetSubresources, XtVaGetSubresources \- obtain subresources .SH SYNTAX .HP -void XtGetSubresources(Widget \fIw\fP, XtPointer \fIbase\fP, String -\fIname\fP, String \fIclass\fP, XtResourceList \fIresources\fP, Cardinal -\fInum_resources\fP, ArgList \fIargs\fP, Cardinal \fInum_args\fP); +void XtGetSubresources(Widget \fIw\fP, +XtPointer \fIbase\fP, +const char *\fIname\fP, +const char * \fIclass\fP, +XtResourceList \fIresources\fP, Cardinal \fInum_resources\fP, +ArgList \fIargs\fP, Cardinal \fInum_args\fP); .HP -void XtVaGetSubresources(Widget \fIw\fP, XtPointer \fIbase\fP, String -\fIname\fP, String \fIclass\fP, XtResourceList \fIresources\fP, Cardinal -\fInum_resources\fP); +void XtVaGetSubresources(Widget \fIw\fP, +XtPointer \fIbase\fP, +const char *\fIname\fP, +const char *\fIclass\fP, +XtResourceList \fIresources\fP, Cardinal +\fInum_resources\fP, ...); .SH ARGUMENTS .IP \fIargs\fP 1i Specifies the argument list to override resources obtained from the resource database. diff --git a/man/XtInitialize.man b/man/XtInitialize.man index 039ae7a..7f3fd4f 100644 --- a/man/XtInitialize.man +++ b/man/XtInitialize.man @@ -38,9 +38,10 @@ XtInitialize \- initialize .SH SYNTAX .HP -Widget XtInitialize(String \fIshell_name\fP, String \fIapplication_class\fP, -XrmOptionDescRec* \fIoptions\fP, Cardinal \fInum_options\fP, int* \fIargc\fP, -char** \fIargv\fP); +Widget XtInitialize(const char *\fIshell_name\fP, +const char *\fIapplication_class\fP, +XrmOptionDescRec* \fIoptions\fP, Cardinal \fInum_options\fP, +int* \fIargc\fP, char** \fIargv\fP); .SH ARGUMENTS .IP \fIshell_name\fP 1i Specifies the name of the created shell widget. diff --git a/man/XtInsertEventTypeHandler.man b/man/XtInsertEventTypeHandler.man index 3e1402c..fa06498 100644 --- a/man/XtInsertEventTypeHandler.man +++ b/man/XtInsertEventTypeHandler.man @@ -53,7 +53,7 @@ void XtRegisterExtensionSelector(Display* \fIdisplay\fP, int \fImin_event_type\fP, int \fImax_event_type\fP, XtExtensionSelectProc \fIproc\fP, XtPointer \fIclient_data\fP); .HP -XtEventDispatchProc XtSetEventDispatcher(Widget \fIwidget\fP, int +XtEventDispatchProc XtSetEventDispatcher(Display* \fIdisplay\fP, int \fIevent_type\fP, XtEventDispatchProc \fIproc\fP); .HP Boolean XtDispatchEventToWidget(Widget \fIwidget\fP, XEvent* \fIevent\fP); diff --git a/man/XtMakeGeometryRequest.man b/man/XtMakeGeometryRequest.man index a5cd24a..22d01f3 100644 --- a/man/XtMakeGeometryRequest.man +++ b/man/XtMakeGeometryRequest.man @@ -42,8 +42,11 @@ XtMakeGeometryRequest, XtMakeResizeRequest \- make geometry manager request XtGeometryResult XtMakeGeometryRequest(Widget \fIw\fP, XtWidgetGeometry *\fIrequest\fP, XtWidgetGeometry *\fIreply_return\fP); .HP -XtGeometryResult XtMakeResizeRequest(Widget \fIw\fP, Dimension \fIwidth\fP, -\fIheight\fP, Dimension *\fIwidth_return\fP, Dimension *\fIheight_return\fP); +XtGeometryResult XtMakeResizeRequest(Widget \fIw\fP, +Dimension \fIwidth\fP, +Dimension \fIheight\fP, +Dimension *\fIwidth_return\fP, +Dimension *\fIheight_return\fP); .SH ARGUMENTS .IP \fIreply_return\fP 1i Returns the allowed widget size or may be NULL diff --git a/man/XtMalloc.man b/man/XtMalloc.man index a99d170..b567dee 100644 --- a/man/XtMalloc.man +++ b/man/XtMalloc.man @@ -51,7 +51,7 @@ void XtFree(char *\fIptr\fP); .HP String XtNewString(String \fIstring\fP); .HP -Cardinal XtAsprintf(String *\fInew_string\fP, const char *\fIformat\fP, ...); +Cardinal XtAsprintf(char **\fInew_string\fP, const char *\fIformat\fP, ...); .SH ARGUMENTS .IP \fInum\fP 1i Specifies the number of bytes or array elements. diff --git a/man/XtMapWidget.man b/man/XtMapWidget.man index e50b6ba..f7ec1a3 100644 --- a/man/XtMapWidget.man +++ b/man/XtMapWidget.man @@ -39,11 +39,11 @@ XtMapWidget, XtSetMappedWhenManaged, XtUnmapWidget \- map and unmap widgets .SH SYNTAX .HP -int XtMapWidget(Widget \fIw\fP\^); +void XtMapWidget(Widget \fIw\fP\^); .HP void XtSetMappedWhenManaged(Widget \fIw\fP, Boolean \fImap_when_managed\fP); .HP -int XtUnmapWidget(Widget \fIw\fP\^); +void XtUnmapWidget(Widget \fIw\fP\^); .SH ARGUMENTS .IP \fImap_when_managed\fP 1i Specifies a Boolean value that indicates the new value of the map_when_managed diff --git a/man/XtNameToWidget.man b/man/XtNameToWidget.man index 75ce8cd..04611bc 100644 --- a/man/XtNameToWidget.man +++ b/man/XtNameToWidget.man @@ -39,7 +39,7 @@ XtNameToWidget, XtWindowToWidget \- translating strings to widgets or widgets to windows .SH SYNTAX .HP -Widget XtNameToWidget(Widget \fIreference\fP, String \fInames\fP); +Widget XtNameToWidget(Widget \fIreference\fP, const char *\fInames\fP); .HP Widget XtWindowToWidget(Display *\fIdisplay\fP, Window \fIwindow\fP); .SH ARGUMENTS diff --git a/man/XtOpenApplication.man b/man/XtOpenApplication.man index 0751d3b..b46d3fe 100644 --- a/man/XtOpenApplication.man +++ b/man/XtOpenApplication.man @@ -38,16 +38,20 @@ XtOpenApplication, XtVaOpenApplication \- initialize, open, or close a display .SH SYNTAX .HP -Widget XtOpenApplication(XtAppContext *\fIapp_context_return\fP, String -\fIapplication_class\fP, XrmOptionDescRec *\fIoptions\fP, Cardinal -\fInum_options\fP, int *\fIargc_in_out\fP, String *\fIargv_in_out\fP, String -*\fIfallback_resources\fP, WidgetClass \fIwidget_class\fP, ArgList \fIargs\fP, -Cardinal \fInum_args\fP); +Widget XtOpenApplication(XtAppContext *\fIapp_context_return\fP, +const char *\fIapplication_class\fP, +XrmOptionDescRec *\fIoptions\fP, Cardinal \fInum_options\fP, +int *\fIargc_in_out\fP, char **\fIargv_in_out\fP, +String *\fIfallback_resources\fP, +WidgetClass \fIwidget_class\fP, +ArgList \fIargs\fP, Cardinal \fInum_args\fP); .HP -Widget XtVaOpenApplication(XtAppContext *\fIapp_context_return\fP, String -\fIapplication_class\fP, XrmOptionDescRec *\fIoptions\fP, Cardinal -\fInum_options\fP, int *\fIargc_in_out\fP, String *\fIargv_in_out\fP, String -*\fIfallback_resources\fP, WidgetClass \fIwidget_class\fP, ...\^); +Widget XtVaOpenApplication(XtAppContext *\fIapp_context_return\fP, +const char *\fIapplication_class\fP, +XrmOptionDescRec *\fIoptions\fP, Cardinal \fInum_options\fP, +int *\fIargc_in_out\fP, char **\fIargv_in_out\fP, +String *\fIfallback_resources\fP, +WidgetClass \fIwidget_class\fP, ...\^); .SH ARGUMENTS .IP \fIapp_context_return\fP 1i Specifies the application context. diff --git a/man/XtParseAcceleratorTable.man b/man/XtParseAcceleratorTable.man index c60c6ef..e72e47e 100644 --- a/man/XtParseAcceleratorTable.man +++ b/man/XtParseAcceleratorTable.man @@ -40,7 +40,7 @@ XtParseAcceleratorTable, XtInstallAccelerators, XtInstallAllAccelerators \- managing accelerator tables .SH SYNTAX .HP -XtAccelerators XtParseAcceleratorTable(String \fIsource\fP); +XtAccelerators XtParseAcceleratorTable(const char * \fIsource\fP); .HP void XtInstallAccelerators(Widget \fIdestination\fP, Widget \fIsource\fP); .HP diff --git a/man/XtParseTranslationTable.man b/man/XtParseTranslationTable.man index 0d26b5f..adb0ee1 100644 --- a/man/XtParseTranslationTable.man +++ b/man/XtParseTranslationTable.man @@ -40,7 +40,7 @@ XtParseTranslationTable, XtAugmentTranslations, XtOverrideTranslations, XtUninstallTranslations \- manage translation tables .SH SYNTAX .HP -XtTranslations XtParseTranslationTable(String \fItable\fP); +XtTranslations XtParseTranslationTable(const char *\fItable\fP); .HP void XtAugmentTranslations(Widget \fIw\fP, XtTranslations \fItranslations\fP); .HP diff --git a/man/XtPopup.man b/man/XtPopup.man index e743bde..0ddba90 100644 --- a/man/XtPopup.man +++ b/man/XtPopup.man @@ -45,7 +45,7 @@ void XtPopup(Widget \fIpopup_shell\fP, XtGrabKind \fIgrab_kind\fP); void XtPopupSpringLoaded(Widget \fIpopup_shell\fP); .HP void XtCallbackNone(Widget \fIw\fP, XtPointer \fIclient_data\fP, XtPointer -\fIcall_data\fP): +\fIcall_data\fP); .HP void XtCallbackNonexclusive(Widget \fIw\fP, XtPointer \fIclient_data\fP, XtPointer \fIcall_data\fP); diff --git a/man/XtReservePropertyAtom.man b/man/XtReservePropertyAtom.man index 559d1de..c6c3ce1 100644 --- a/man/XtReservePropertyAtom.man +++ b/man/XtReservePropertyAtom.man @@ -38,7 +38,7 @@ XtReservePropertyAtom, XtReleasePropertyAtom \- maintain a cache of property atoms .SH SYNTAX .HP -Widget XtReservePropertyAtom(Widget \fIw\fP); +Atom XtReservePropertyAtom(Widget \fIw\fP); .HP void XtReleasePropertyAtom(Widget \fIw\fP, Atom \fIatom\fP); .SH ARGUMENTS diff --git a/man/XtResolvePathname.man b/man/XtResolvePathname.man index 402be77..cb96393 100644 --- a/man/XtResolvePathname.man +++ b/man/XtResolvePathname.man @@ -38,10 +38,13 @@ XtResolvePathname \- search for a file using standard substitution .SH SYNTAX .HP -String XtResolvePathname(Display *\fIdisplay\fP, String \fItype\fP, String -\fIfilename\fP, String \fIsuffix\fP, String \fIpath\fP, Substitution -\fIsubstitutions\fP, Cardinal \fInum_substitutions\fP, XtFilePredicate -\fIpredicate\fP); +char * XtResolvePathname(Display *\fIdisplay\fP, +const char *\fItype\fP, +const char *\fIfilename\fP, +const char *\fIsuffix\fP, +const char *\fIpath\fP, +Substitution \fIsubstitutions\fP, Cardinal \fInum_substitutions\fP, +XtFilePredicate \fIpredicate\fP); .SH ARGUMENTS .IP \fIdisplay\fP 1.2i Specifies the display to use to find the language for language substitutions. diff --git a/man/XtSessionGetToken.man b/man/XtSessionGetToken.man index 6666a83..0311e5d 100644 --- a/man/XtSessionGetToken.man +++ b/man/XtSessionGetToken.man @@ -39,14 +39,12 @@ XtSessionGetToken, XtSessionReturnToken \- token management for checkpointing .SH SYNTAX .HP -XtCheckpointToken XtSessionGetToken(Widget \fIw\fP, int \fItype\fP); +XtCheckpointToken XtSessionGetToken(Widget \fIw\fP); .HP void XtSessionReturnToken(XtCheckpointToken \fItoken\fP); .SH ARGUMENTS .IP \fIw\fP 1i Specifies the session widget. -.IP \fItype\fP 1i -Specifies the value in the type field of the token. .IP \fItoken\fP 1i Specifies the token to be returned. .SH DESCRIPTION diff --git a/man/XtSetKeyboardFocus.man b/man/XtSetKeyboardFocus.man index 98a6820..9777f25 100644 --- a/man/XtSetKeyboardFocus.man +++ b/man/XtSetKeyboardFocus.man @@ -39,7 +39,7 @@ XtSetKeyboardFocus \- focus events on a child widget .SH SYNTAX .HP -XtSetKeyboardFocus(Widget \fIsubtree\fP, Widget \fIdescendant\fP); +void XtSetKeyboardFocus(Widget \fIsubtree\fP, Widget \fIdescendant\fP); .SH ARGUMENTS .IP \fIsubtree\fP 1i Specifies either the widget in the subtree structure which is to receive the diff --git a/man/XtSetLanguageProc.man b/man/XtSetLanguageProc.man index 1995a40..174abc3 100644 --- a/man/XtSetLanguageProc.man +++ b/man/XtSetLanguageProc.man @@ -39,7 +39,7 @@ XtSetLanguageProc \- set the language procedure .SH SYNTAX .HP -Widget XtSetLanguageProc(XtAppContext \fIapp_context\fP, XtLanguageProc +XtLanguageProc XtSetLanguageProc(XtAppContext \fIapp_context\fP, XtLanguageProc \fIproc\fP, XtPointer \fIclient_data\fP); .SH ARGUMENTS .IP \fIapp_context\fP 1i diff --git a/man/XtStringConversionWarning.man b/man/XtStringConversionWarning.man index 052d32e..2ddc754 100644 --- a/man/XtStringConversionWarning.man +++ b/man/XtStringConversionWarning.man @@ -39,7 +39,7 @@ XtStringConversionWarning \- issue a conversion warning message .SH SYNTAX .HP -void XtStringConversionWarning(String \fIsrc\fP, String \fIdst_type\fP); +void XtStringConversionWarning(const char *\fIsrc\fP, const char *\fIdst_type\fP); .SH ARGUMENTS .IP \fIsrc\fP 1i Specifies the string that could not be converted. diff --git a/man/XtTranslateCoords.man b/man/XtTranslateCoords.man index 3d324b2..f15e7d6 100644 --- a/man/XtTranslateCoords.man +++ b/man/XtTranslateCoords.man @@ -39,8 +39,11 @@ XtTranslateCoords \- translate widget coordinates .SH SYNTAX .HP -void XtTranslateCoords(Widget \fIw\fP, Position \fIx\fP, \fIy\fP, Position -*\fIrootx_return\fP, *\fIrooty_return\fP); +void XtTranslateCoords(Widget \fIw\fP, +Position \fIx\fP, +Position \fIy\fP, +Position *\fIrootx_return\fP, +Position *\fIrooty_return\fP); .SH ARGUMENTS .IP \fIrootx_return\fP 1i .br |