From 1a2f738f07d016e5469a2be2f14702ac6547da9f Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Sat, 14 Dec 2024 20:23:25 +0100 Subject: [PATCH] man/man2/: SYNOPSIS: Use array notation Signed-off-by: Alejandro Colomar --- man/man2/epoll_wait.2 | 6 +++--- man/man2/getgroups.2 | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/man/man2/epoll_wait.2 b/man/man2/epoll_wait.2 index 3f52620e0..26a2e886f 100644 --- a/man/man2/epoll_wait.2 +++ b/man/man2/epoll_wait.2 @@ -17,12 +17,12 @@ Standard C library .nf .B #include .P -.BI "int epoll_wait(int " epfd ", struct epoll_event *" events , +.BI "int epoll_wait(int " epfd ", struct epoll_event " events [. maxevents ], .BI " int " maxevents ", int " timeout ); -.BI "int epoll_pwait(int " epfd ", struct epoll_event *" events , +.BI "int epoll_pwait(int " epfd ", struct epoll_event " events [. maxevents ], .BI " int " maxevents ", int " timeout , .BI " const sigset_t *_Nullable " sigmask ); -.BI "int epoll_pwait2(int " epfd ", struct epoll_event *" events , +.BI "int epoll_pwait2(int " epfd ", struct epoll_event " events [. maxevents ], .BI " int " maxevents ", \ const struct timespec *_Nullable " timeout , .BI " const sigset_t *_Nullable " sigmask ); diff --git a/man/man2/getgroups.2 b/man/man2/getgroups.2 index f5279a433..9c9e2c819 100644 --- a/man/man2/getgroups.2 +++ b/man/man2/getgroups.2 @@ -19,11 +19,11 @@ Standard C library .nf .B #include .P -.BI "int getgroups(int " size ", gid_t " list []); +.BI "int getgroups(int " size ", gid_t " list "[_Nullable ." size ]); .P .B #include .P -.BI "int setgroups(size_t " size ", const gid_t *_Nullable " list ); +.BI "int setgroups(size_t " size ", const gid_t " list "[_Nullable ." size ]); .fi .P .RS -4 -- 2.47.2