42#define DLL_EXPORT __declspec(dllexport)
DLL_EXPORT const char * sigfn_error()
get the last error message
#define DLL_EXPORT
Definition sigfn.h:49
DLL_EXPORT int sigfn_wait(const int *signums, size_t count, int *received)
wait for any of the specified signals
DLL_EXPORT int sigfn_ignore(int signum)
ignore a specific signal
DLL_EXPORT int sigfn_wait_for(const int *signums, size_t count, int *received, const struct timeval *timeout)
wait for any of the specified signals with a timeout
DLL_EXPORT int sigfn_reset(int signum)
reset a specific signal to its default behavior
DLL_EXPORT int sigfn_wait_until(const int *signums, size_t count, int *received, const struct timeval *deadline)
wait for any of the specified signals until a deadline
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:59