Go to the documentation of this file.
22 typedef void (*
rpmsqAction_t) (
int signum, siginfo_t * info,
void * context);
27 #define RPMSQ_DFL ((rpmsqAction_t)0)
28 #define RPMSQ_IGN ((rpmsqAction_t)1)
29 #define RPMSQ_ERR ((rpmsqAction_t)-1)
int rpmsqActivate(int state)
Activate (or disable) the signal queue.
int rpmsqPoll(void)
Poll for caught signals, executing their handlers.
void rpmsqSetInterruptSafety(int on)
int rpmsqBlock(int op)
Block or unblock (almost) all signals.
void(* rpmsqAction_t)(int signum, siginfo_t *info, void *context)
Default signal handler prototype.
int rpmsqIsCaught(int signum)
Test if given signal has been caught (while signals blocked).
rpmsqAction_t rpmsqSetAction(int signum, rpmsqAction_t handler)
Set or delete a signal handler for a signal.