Pselect

Some articles on pselect:

Event Loop - File Interface - Handling Signals
... The solution arrived at by POSIX is the pselect call, which is similar to select but takes an additional sigmask parameter, which describes a signal mask ... However, implementations of pselect have only recently become reliable versions of Linux prior to 2.6.16 do not have a pselect system call, forcing ...