32#define SIGFN_SUCCESS 0
33#define SIGFN_INVALID_SIGNUM 1
34#define SIGFN_INVALID_HANDLER 2
40#define DLL_EXPORT __declspec(dllexport)
#define DLL_EXPORT
Definition sigfn.h:42
DLL_EXPORT int sigfn_ignore(int signum)
ignore a specific signal
DLL_EXPORT int sigfn_reset(int signum)
reset a specific signal to its default behavior
DLL_EXPORT int sigfn_handle(int signum, sigfn_handler_func handler, void *userdata)
attach handler to specific signal
void(* sigfn_handler_func)(int signum, void *userdata)
signal handler function type
Definition sigfn.h:56