I went through examples and man page but couldn't figure out difference between signalfd and sigwaitinfo Apart from syntax both are doing same thing i.e. waiting for signal storing it details into some structure.in man page it is written.This provides an alternative to the use of a signalhandler or sigwaitinfo(2), and has the advantage that the file descriptor maybe monitored by select(2), poll(2), and epoll(7).Can anyone please explain me what does it exactly means?
difference between signalfd and sigwaitinfo?
signals