1
1
.\" Copyright (c) 1993, 1994 X Consortium
3
3
.\" Permission is hereby granted, free of charge, to any person obtaining a
4
.\" copy of this software and associated documentation files (the "Software"),
5
.\" to deal in the Software without restriction, including without limitation
6
.\" the rights to use, copy, modify, merge, publish, distribute, sublicense,
7
.\" and/or sell copies of the Software, and to permit persons to whom the
4
.\" copy of this software and associated documentation files (the "Software"),
5
.\" to deal in the Software without restriction, including without limitation
6
.\" the rights to use, copy, modify, merge, publish, distribute, sublicense,
7
.\" and/or sell copies of the Software, and to permit persons to whom the
8
8
.\" Software furnished to do so, subject to the following conditions:
10
10
.\" The above copyright notice and this permission notice shall be included in
11
11
.\" all copies or substantial portions of the Software.
13
13
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
14
.\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
16
.\" THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
17
.\" WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
18
.\" OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
15
.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
16
.\" THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
17
.\" WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
18
.\" OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
.\" Except as contained in this notice, the name of the X Consortium shall not
22
.\" be used in advertising or otherwise to promote the sale, use or other
23
.\" dealing in this Software without prior written authorization from the
21
.\" Except as contained in this notice, the name of the X Consortium shall not
22
.\" be used in advertising or otherwise to promote the sale, use or other
23
.\" dealing in this Software without prior written authorization from the
130
130
XtSignalId XtAppAddSignal(XtAppContext \fIapp_context\fP, XtSignalCallbackProc
131
\fIproc\fP, XtPointer \fIclient_data\fP);
133
void XtRemoveSignal(XtSignalId \fIid\fP);
135
void XtNoticeSignal(XtSignalId \fIid\fP);
131
\fIproc\fP, XtPointer \fIclient_data\fP);
133
void XtRemoveSignal(XtSignalId \fIid\fP);
135
void XtNoticeSignal(XtSignalId \fIid\fP);
137
137
.IP \fIapp_context\fP 1i
138
138
Specifies the application context.
144
144
.ZN XtAppAddSignal
146
146
.IP \fIproc\fP 1i
147
Specifies the procedure that is to be called when the signal has been
147
Specifies the procedure that is to be called when the signal has been
151
151
.ZN XtAppAddSignal
152
152
function initiates a mechanism for handling signals within the context
153
of the Intrinsics. Prior to establishing an operating system dependent
153
of the Intrinsics. Prior to establishing an operating system dependent
154
154
signal handler the application may call
155
155
.ZN XtAppAddSignal
156
and store the returned \fIid\fP in a place accessible to the signal
156
and store the returned \fIid\fP in a place accessible to the signal
159
Upon receipt of a signal from the operating system, the application may
159
Upon receipt of a signal from the operating system, the application may
161
161
.ZN XtNoticeSignal
162
162
passing the \fIid\fP returned by the call to
163
163
.ZN XtAppAddSignal .