rpm  4.13.90
Typedefs | Functions
rpmsq.h File Reference

Signal Queue API. More...

#include <rpm/rpmsw.h>
#include <signal.h>

Go to the source code of this file.

Typedefs

typedef void(* rpmsqAction_t) (int signum, siginfo_t *info, void *context)
 Default signal handler prototype. More...
 

Functions

int rpmsqIsCaught (int signum)
 Test if given signal has been caught (while signals blocked). More...
 
int rpmsqActivate (int state)
 Activate (or disable) the signal queue. More...
 
rpmsqAction_t rpmsqSetAction (int signum, rpmsqAction_t handler)
 Set or delete a signal handler for a signal. More...
 
int rpmsqBlock (int op)
 Block or unblock (almost) all signals. More...
 
int rpmsqPoll (void)
 Poll for caught signals, executing their handlers. More...
 
void rpmsqSetInterruptSafety (int on)
 

Detailed Description

Signal Queue API.

Definition in file rpmsq.h.

Function Documentation

◆ rpmsqSetInterruptSafety()

void rpmsqSetInterruptSafety ( int  on)