|
NAMEtt_message_send_on_exit — set up a message to send upon unexpected exit SYNOPSIS#include &<Tt/tt_c.h> Tt_status tt_message_send_on_exit( Tt_message m); DESCRIPTIONThe tt_message_send_on_exit function requests that the ToolTalk service send this message if the process exits unexpectedly. The message is sent to the ToolTalk service, which queues the message internally until either of two events occur:
In this case, the ToolTalk service matches the queued message to its patterns and delivers it in the same manner as if the process had sent the message normally before exiting. If a process sends a normal termination message but exits without calling tt_close(3), both the normal termination message and the on_exit message are delivered. The m argument is the opaque handle for the message involved in this operation. RETURN VALUEUpon successful completion, the tt_message_send_on_exit function returns the status of the operation as one of the following Tt_status values:
SEE ALSOTt/tt_c.h - Tttt_c(5), tt_close(3).
|