]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
select.2: SYNOPSIS: Add _Nullable
authorAlejandro Colomar <alx@kernel.org>
Sat, 3 Dec 2022 19:31:34 +0000 (20:31 +0100)
committerAlejandro Colomar <alx@kernel.org>
Sat, 3 Dec 2022 19:33:58 +0000 (20:33 +0100)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man2/select.2

index 199522a0133ec961e7b890342611e5476a3d80dc..f13d2042083511795bc34b21b9b9141b915ebe96 100644 (file)
@@ -30,19 +30,21 @@ Standard C library
 .PP
 .BR typedef " /* ... */ " fd_set;
 .PP
-.BI "int select(int " nfds ", fd_set *restrict " readfds ,
-.BI "           fd_set *restrict " writefds ", fd_set *restrict " exceptfds ,
-.BI "           struct timeval *restrict " timeout );
+.BI "int select(int " nfds ", fd_set *_Nullable restrict " readfds ,
+.BI "           fd_set *_Nullable restrict " writefds ,
+.BI "           fd_set *_Nullable restrict " exceptfds ,
+.BI "           struct timeval *_Nullable restrict " timeout );
 .PP
 .BI "void FD_CLR(int " fd ", fd_set *" set );
 .BI "int  FD_ISSET(int " fd ", fd_set *" set );
 .BI "void FD_SET(int " fd ", fd_set *" set );
 .BI "void FD_ZERO(fd_set *" set );
 .PP
-.BI "int pselect(int " nfds ", fd_set *restrict " readfds ,
-.BI "           fd_set *restrict " writefds ", fd_set *restrict " exceptfds ,
-.BI "           const struct timespec *restrict " timeout ,
-.BI "           const sigset_t *restrict " sigmask );
+.BI "int pselect(int " nfds ", fd_set *_Nullable restrict " readfds ,
+.BI "           fd_set *_Nullable restrict " writefds ,
+.BI "           fd_set *_Nullable restrict " exceptfds ,
+.BI "           const struct timespec *_Nullable restrict " timeout ,
+.BI "           const sigset_t *_Nullable restrict " sigmask );
 .fi
 .PP
 .RS -4