public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx.manpages@gmail.com>
To: linux-man@vger.kernel.org
Cc: Alejandro Colomar <alx@kernel.org>,
	libc-alpha@sourceware.org, linux-kernel@vger.kernel.org
Subject: [PATCH 25/41] select.2: SYNOPSIS: Add _Nullable
Date: Sat,  3 Dec 2022 21:23:01 +0100	[thread overview]
Message-ID: <20221203202317.252789-26-alx@kernel.org> (raw)
In-Reply-To: <20221203202317.252789-1-alx@kernel.org>

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


  parent reply	other threads:[~2022-12-03 20:23 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-03 20:22 [PATCH 00/41] Document nullability of syscall parameters Alejandro Colomar
2022-12-03 20:22 ` [PATCH 01/41] accept.2: SYNOPSIS: Add _Nullable Alejandro Colomar
2022-12-03 20:22 ` [PATCH 02/41] acct.2: " Alejandro Colomar
2022-12-03 20:22 ` [PATCH 03/41] clock_getres.2: " Alejandro Colomar
2022-12-03 20:22 ` [PATCH 04/41] clock_nanosleep.2: " Alejandro Colomar
2022-12-03 20:22 ` [PATCH 05/41] clone.2: " Alejandro Colomar
2022-12-03 20:22 ` [PATCH 06/41] copy_file_range.2: " Alejandro Colomar
2022-12-03 20:22 ` [PATCH 07/41] epoll_ctl.2: " Alejandro Colomar
2022-12-03 20:22 ` [PATCH 08/41] epoll_wait.2: " Alejandro Colomar
2022-12-03 20:22 ` [PATCH 09/41] execve.2: " Alejandro Colomar
2022-12-03 20:22 ` [PATCH 10/41] execveat.2: " Alejandro Colomar
2022-12-03 20:22 ` [PATCH 11/41] fanotify_mark.2: " Alejandro Colomar
2022-12-03 20:22 ` [PATCH 12/41] getcpu.2: " Alejandro Colomar
2022-12-03 20:22 ` [PATCH 13/41] getgroups.2: " Alejandro Colomar
2022-12-03 20:22 ` [PATCH 14/41] getitimer.2: " Alejandro Colomar
2022-12-03 20:22 ` [PATCH 15/41] getrlimit.2: " Alejandro Colomar
2022-12-03 20:22 ` [PATCH 16/41] gettimeofday.2: " Alejandro Colomar
2022-12-03 20:22 ` [PATCH 17/41] listxattr.2: " Alejandro Colomar
2022-12-03 20:22 ` [PATCH 18/41] mount.2: " Alejandro Colomar
2022-12-03 20:22 ` [PATCH 19/41] nanosleep.2: " Alejandro Colomar
2022-12-03 20:22 ` [PATCH 20/41] pidfd_send_signal.2: " Alejandro Colomar
2022-12-03 20:22 ` [PATCH 21/41] poll.2: " Alejandro Colomar
2022-12-03 20:22 ` [PATCH 22/41] quotactl.2: " Alejandro Colomar
2022-12-03 20:22 ` [PATCH 23/41] recv.2: " Alejandro Colomar
2022-12-03 20:23 ` [PATCH 24/41] request_key.2: " Alejandro Colomar
2022-12-03 20:23 ` Alejandro Colomar [this message]
2022-12-03 20:23 ` [PATCH 26/41] semop.2: " Alejandro Colomar
2022-12-03 20:23 ` [PATCH 27/41] sendfile.2: " Alejandro Colomar
2022-12-03 20:23 ` [PATCH 28/41] shmop.2: " Alejandro Colomar
2022-12-03 20:23 ` [PATCH 29/41] sigaction.2: " Alejandro Colomar
2022-12-03 20:23 ` [PATCH 30/41] sigaltstack.2: " Alejandro Colomar
2022-12-03 20:23 ` [PATCH 31/41] sigprocmask.2: " Alejandro Colomar
2022-12-03 20:23 ` [PATCH 32/41] sigwaitinfo.2: " Alejandro Colomar
2022-12-03 20:23 ` [PATCH 33/41] splice.2: " Alejandro Colomar
2022-12-03 20:23 ` [PATCH 34/41] time.2: " Alejandro Colomar
2022-12-03 20:23 ` [PATCH 35/41] timer_create.2: " Alejandro Colomar
2022-12-03 20:23 ` [PATCH 36/41] timer_settime.2: " Alejandro Colomar
2022-12-03 20:23 ` [PATCH 37/41] timerfd_create.2: " Alejandro Colomar
2022-12-03 20:23 ` [PATCH 38/41] utime.2: " Alejandro Colomar
2022-12-03 20:23 ` [PATCH 39/41] utimensat.2: " Alejandro Colomar
2022-12-03 20:23 ` [PATCH 40/41] wait.2: " Alejandro Colomar
2022-12-03 20:23 ` [PATCH 41/41] wait4.2: " Alejandro Colomar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221203202317.252789-26-alx@kernel.org \
    --to=alx.manpages@gmail.com \
    --cc=alx@kernel.org \
    --cc=libc-alpha@sourceware.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-man@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).