Apache Portable Runtime
Typedefs | Functions
Signal Handling
Apache Portability Runtime library

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)

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

apr_status_t apr_signal_unblock ( int  signum)

Enable the delivery of a particular signal

Parameters:
signumThe signal number
Returns:
status
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines