rpm 4.9.1
|
Typedefs | |
typedef struct rpmsig_s * | rpmsig |
typedef struct rpmsqElem * | rpmsq |
typedef void(* | rpmsqAction_t )(int signum) |
Default signal handler prototype. | |
Functions | |
int | rpmsqIsCaught (int signum) |
Test if given signal has been caught (while signals blocked). | |
void | rpmsqAction (int signum) |
Default signal handler. | |
int | rpmsqEnable (int signum, rpmsqAction_t handler) |
Enable or disable a signal handler. | |
pid_t | rpmsqFork (rpmsq sq) |
Fork a child process. | |
pid_t | rpmsqWait (rpmsq sq) |
Wait for child process to be reaped. |
typedef void(* rpmsqAction_t)(int signum) |
void rpmsqAction | ( | int | signum | ) |
Default signal handler.
signum | signal number |
info | (siginfo_t) signal info |
context | signal context |
int rpmsqEnable | ( | int | signum, |
rpmsqAction_t | handler | ||
) |
Enable or disable a signal handler.
signum | signal to enable (or disable if negative) |
handler | sa_sigaction handler (or NULL to use rpmsqHandler()) |
pid_t rpmsqFork | ( | rpmsq | sq | ) |
Fork a child process.
sq | scriptlet queue element |
int rpmsqIsCaught | ( | int | signum | ) |
Test if given signal has been caught (while signals blocked).
Similar to sigismember() but operates on internal signal queue.
signum | signal to test for |
pid_t rpmsqWait | ( | rpmsq | sq | ) |
Wait for child process to be reaped.
sq | scriptlet queue element |