title: How to interrupt epoll_pwait to catch signal
body: <p>I would write a small test that shows me the difference between <code>epoll_Wait</code> and <code>epoll_pwait()</code> by catching any interrupted signal. can anyone provide me by a small code or any method to find that?</p>
  
  <pre><code>int epoll_pwait(int epfd, struct epoll_event *events,
                    int maxevents, int timeout,
                    const sigset_t *sigmask);
  </code></pre>