Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Collaboration diagram for Signal Handling:

Typedefs

typedef void apr_sigfunc_t (int)
 

Functions

apr_sigfunc_tapr_signal (int signo, apr_sigfunc_t *func)
 
const char * apr_signal_description_get (int signum)
 
void apr_signal_init (apr_pool_t *pglobal)
 
apr_status_t apr_signal_block (int signum)
 
apr_status_t apr_signal_unblock (int signum)
 

Detailed Description

Typedef Documentation

typedef void apr_sigfunc_t(int)

Function prototype for signal handlers

Function Documentation

apr_sigfunc_t* apr_signal ( int  signo,
apr_sigfunc_t func 
)

Set the signal handler function for a given signal

Parameters
signoThe signal (eg... SIGWINCH)
functhe function to get called
apr_status_t apr_signal_block ( int  signum)

Block the delivery of a particular signal

Parameters
signumThe signal number
Returns
status
const char* apr_signal_description_get ( int  signum)

Get the description for a specific signal number

Parameters
signumThe signal number
Returns
The description of the signal
void apr_signal_init ( apr_pool_t pglobal)

APR-private function for initializing the signal package

Parameters
pglobalThe internal, global pool
apr_status_t apr_signal_unblock ( int  signum)

Enable the delivery of a particular signal

Parameters
signumThe signal number
Returns
status