From 5b1c29a4a3097b62a222f36996dcd66ed7713cfd Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Sat, 13 Mar 2021 17:50:56 +0100 Subject: epoll_wait.2: Use syscall(SYS_...); for system calls without a wrapper Signed-off-by: Alejandro Colomar --- man2/epoll_wait.2 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/man2/epoll_wait.2 b/man2/epoll_wait.2 index 69c79d6ec..6df6dabb8 100644 --- a/man2/epoll_wait.2 +++ b/man2/epoll_wait.2 @@ -32,7 +32,13 @@ epoll_wait, epoll_pwait, epoll_pwait2 \- wait for an I/O event on an epoll file .BI "int epoll_pwait(int " epfd ", struct epoll_event *" events , .BI " int " maxevents ", int " timeout , .BI " const sigset_t *" sigmask ); -.BI "int epoll_pwait2(int " epfd ", struct epoll_event *" events , +.PP +.BR "#include " \ +" /* Definition of " "struct epoll_event" " */" +.BR "#include " " /* Definition of " SYS_* " constants */" +.B #include +.PP +.BI "int syscall(SYS_epoll_pwait2, int " epfd ", struct epoll_event *" events , .BI " int " maxevents ", const struct timespec *" timeout , .BI " const sigset_t *" sigmask ); .\" FIXME: Check if glibc has added a wrapper for epoll_pwait2(), -- cgit v1.2.3