From: Alejandro Colomar Date: Sat, 14 Dec 2024 19:23:25 +0000 (+0100) Subject: man/man2/: SYNOPSIS: Use array notation X-Git-Tag: man-pages-6.10~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a2f738f07d016e5469a2be2f14702ac6547da9f;p=thirdparty%2Fman-pages.git man/man2/: SYNOPSIS: Use array notation Signed-off-by: Alejandro Colomar --- 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