about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2023-05-23 00:01:21 +0200
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-06-01 14:50:42 -0300
commit5013f6fc6c44160e8ec6bcd34ba676e85d9d6ab6 (patch)
tree4ef3a2cf40fb66511569eaef6abedff41daf7d9c /include
parentcc5372806a4bf34cb5c9038d1716b5ea6202abd0 (diff)
downloadglibc-5013f6fc6c44160e8ec6bcd34ba676e85d9d6ab6.tar.gz
glibc-5013f6fc6c44160e8ec6bcd34ba676e85d9d6ab6.tar.xz
glibc-5013f6fc6c44160e8ec6bcd34ba676e85d9d6ab6.zip
Use __nonnull for the epoll_wait(2) family of syscalls
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/sys/epoll.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sys/epoll.h b/include/sys/epoll.h
index 8049381a26..b23bc9c7c0 100644
--- a/include/sys/epoll.h
+++ b/include/sys/epoll.h
@@ -9,7 +9,8 @@ libc_hidden_proto (epoll_pwait)
 #else
 extern int __epoll_pwait2_time64 (int fd, struct epoll_event *ev, int maxev,
 				  const struct __timespec64 *tmo,
-				  const sigset_t *s);
+				  const sigset_t *s)
+       __nonnull ((2));
 libc_hidden_proto (__epoll_pwait2_time64)
 #endif