#include "config.h"#include <assert.h>#include <err.h>#include <signal.h>#include <stdlib.h>#include <sys/signal.h>#include <sys/types.h>#include <sys/wait.h>#include "pnotify-internal.h"#include "pnotify.h"Go to the source code of this file.
Functions | |
| int | pn_trap_signal (struct pnotify_ctx *ctx, int signum) |
| void * | pn_signal_loop (void *unused) |
| void | pn_mask_signals () |
Definition in file signal.c.
| int pn_trap_signal | ( | struct pnotify_ctx * | ctx, | |
| int | signum | |||
| ) |
Trap a specific signal and generate an event when it is received.
| ctx | the context that should receive the signal event | |
| signum | the signal number to be trapped |
Definition at line 50 of file signal.c.
Referenced by pnotify_trap_signal().
1.5.1