Logo Search packages:      
Sourcecode: uapevent version File versions  Download package

void sig_handler ( int  sig )

Signal handler.

Parameters:
sigReceived signal number
Returns:
N/A

Definition at line 66 of file uapevent.c.

References terminate_flag.

Referenced by main().

{
    printf("Stopping application.\n");
#if DEBUG
    printf("Process ID of process killed = %d\n", getpid());
#endif
    terminate_flag = 1;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index