From 81428c3a098b4817a79103ddd6e99e8ceb770772 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 16 May 2014 08:40:02 +0200 Subject: [PATCH] epoll_wait.2: NOTES: describe raw epoll_pwait() system call differences Signed-off-by: Michael Kerrisk --- man2/epoll_wait.2 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/man2/epoll_wait.2 b/man2/epoll_wait.2 index a3aa0de8a..eb7fc8cb8 100644 --- a/man2/epoll_wait.2 +++ b/man2/epoll_wait.2 @@ -226,6 +226,19 @@ is 4 and the kernel .I HZ value is 1000, this means that timeouts greater than 35.79 minutes are treated as infinity. +.SS C library/kernel ABI differences +The raw +.BR epoll_pwait () +system call has a sixth argument, +.IR "size_t sigsetsize" , +which specifies the size in bytes of the +.IR sigmask +argument. +The glibc +.BR epoll_pwait () +wrapper function specifies this argument as a fixed value +(equal to +.IR sizeof(sigset_t) ). .SH SEE ALSO .BR epoll_create (2), .BR epoll_ctl (2),