signalfd4 (2) Linux Manual Page
signalfd – create a file descriptor for accepting signals Synopsis#include <sys/signalfd.h> int signalfd(int fd, const sigset_t *mask, int flags); Descriptionsignalfd() creates a file descriptor that can be used to accept signals targeted at the caller. This provides an alternative to the use of a signal handler or sigwaitinfo(2), and has the advantage that the file…
