lkml.org 
[lkml]   [2022]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 25/41] select.2: SYNOPSIS: Add _Nullable
Date
Signed-off-by: Alejandro Colomar <alx@kernel.org>
---
man2/select.2 | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/man2/select.2 b/man2/select.2
index 199522a01..f13d20420 100644
--- a/man2/select.2
+++ b/man2/select.2
@@ -30,19 +30,21 @@ .SH SYNOPSIS
.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
--
2.38.1
\
 
 \ /
  Last update: 2022-12-03 21:26    [W:0.107 / U:1.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site