a C wrapper providing access to PtrAccessSEGVHandler::handle the way sigaction wants it Example: PtrAccessSEGVHandler h(p); setPtrAccessSEGVHandler(h); struct sigaction sa; sa.sa_sigaction= cPtrAccessSEGVHandler; sigaction(SIGSEGV,&sa, NULL); More...
#include <signal.h>
Go to the source code of this file.
Defines | |
#define | CXXUTILS_CPTRACCESSSEGVHANDLER_H 1 |
Functions | |
void | setPtrAccessSEGVHandler (PtrAccessSEGVHandler *h) |
void | cPtrAccessSEGVHandler (int signal, siginfo_t *si, void *old) |
a C wrapper providing access to PtrAccessSEGVHandler::handle the way sigaction wants it Example: PtrAccessSEGVHandler h(p); setPtrAccessSEGVHandler(h); struct sigaction sa; sa.sa_sigaction= cPtrAccessSEGVHandler; sigaction(SIGSEGV,&sa, NULL);