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

Go to the source code of this file.
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. | |
| void * | rpmsqThread (void *(*start)(void *arg), void *arg) |
| Call a function in a thread. | |
| int | rpmsqJoin (void *thread) |
| Wait for thread to terminate. | |
| int | rpmsqThreadEqual (void *thread) |
| Compare thread with current thread. | |
| int | rpmsqExecve (const char **argv) |
| Execute a command, returning its status. | |
Variables | |
| int | _rpmsq_debug |
Definition in file rpmsq.h.
| int _rpmsq_debug |
1.5.7.1