libuev 2.4.1
|
#include <errno.h>
#include <signal.h>
#include <sys/signalfd.h>
#include <unistd.h>
#include "uev.h"
Go to the source code of this file.
Functions | |
int | uev_signal_init (uev_ctx_t *ctx, uev_t *w, uev_cb_t *cb, void *arg, int signo) |
int | uev_signal_set (uev_t *w, int signo) |
int | uev_signal_start (uev_t *w) |
int | uev_signal_stop (uev_t *w) |
Linux signalfd(2).
Notice how uev::siginfo returns a struct signalfd_siginfo
with useful data on the sender of the signal, this information is only available to signal callbacks.
Definition in file signal.c.
int uev_signal_set | ( | uev_t * | w, |
int | signo ) |
int uev_signal_start | ( | uev_t * | w | ) |