XtAppAddSignal(3X) XT FUNCTIONS XtAppAddSignal(3X)
NAME
XtAppAddSignal - register a signal source
SYNTAX
XtSignalId XtAppAddSignal(app_context, proc, client_data)
XtAppContext app_context;
XtSignalCallbackProc proc;
XtPointer client_data;
ARGUMENTS
app_context
Specifies the application context.
proc Specifies the procedure that is to be called when the signal has been raised.
client_data
Specifies an argument passed to the specified procedure when it is called.
DESCRIPTION
The XtAppAddSignalHandler function initiates a mechanism for handling signals within the context of the Intrinsics. Prior to establishing
an operating system dependent signal handler the application may call XtAppAddSignalHandler and store the returned id in a place accessible
to the signal handler.
Upon receipt of a signal from the operating system, the application may call XtNoticeSignal passing the id returned by the call to XtAp-
pAddSignal.
SEE ALSO
XTSignalCallbackProc(3X) XtRemoveSignal(3X), XtNoticeSignal(3X)
X Version 11 Release 6 XtAppAddSignal(3X)