aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2022-12-03 20:31:34 +0100
committerAlejandro Colomar <alx@kernel.org>2022-12-03 20:33:58 +0100
commit63da1b27c403c48369ca5bbe205300a27e84010a (patch)
treece17b7f2c44b10566fae31a2972a8e3905b2a528
parent1ed7eac9a6c08d8d68c2222653b7a26f350a034b (diff)
downloadman-pages-63da1b27c403c48369ca5bbe205300a27e84010a.tar.gz
select.2: SYNOPSIS: Add _Nullable
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man2/select.216
1 files changed, 9 insertions, 7 deletions
diff --git a/man2/select.2 b/man2/select.2
index 199522a013..f13d204208 100644
--- a/man2/select.2
+++ b/man2/select.2
@@ -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