Signalfd
Signalfd is a Linux-specific interface that provides a file descriptor for receiving signals. It allows a process to deliver signals through normal I/O multiplexing mechanisms (such as poll, epoll, or select) rather than through traditional asynchronous signal handlers. By creating a signalfd, a program can read signal information from a file descriptor just like reading data from a socket or pipe.
Operation and usage: A process typically blocks the signals it wants to receive through a signalfd using
Variants and flags: The signalfd interface has wrappers such as signalfd and signalfd4. signalfd4 supports additional
Portability and scope: signalfd is available only on Linux; it is not part of the POSIX standard.