[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221203202317.252789-2-alx@kernel.org>
Date: Sat, 3 Dec 2022 21:22:37 +0100
From: Alejandro Colomar <alx.manpages@...il.com>
To: linux-man@...r.kernel.org
Cc: Alejandro Colomar <alx@...nel.org>, libc-alpha@...rceware.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 01/41] accept.2: SYNOPSIS: Add _Nullable
Signed-off-by: Alejandro Colomar <alx@...nel.org>
---
man2/accept.2 | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/man2/accept.2 b/man2/accept.2
index 6e7fd2864..333d25ceb 100644
--- a/man2/accept.2
+++ b/man2/accept.2
@@ -20,14 +20,14 @@ .SH SYNOPSIS
.nf
.B #include <sys/socket.h>
.PP
-.BI "int accept(int " sockfd ", struct sockaddr *restrict " addr ,
-.BI " socklen_t *restrict " addrlen );
+.BI "int accept(int " sockfd ", struct sockaddr *_Nullable restrict " addr ,
+.BI " socklen_t *_Nullable restrict " addrlen );
.PP
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
.B #include <sys/socket.h>
.PP
-.BI "int accept4(int " sockfd ", struct sockaddr *restrict " addr ,
-.BI " socklen_t *restrict " addrlen ", int " flags );
+.BI "int accept4(int " sockfd ", struct sockaddr *_Nullable restrict " addr ,
+.BI " socklen_t *_Nullable restrict " addrlen ", int " flags );
.fi
.SH DESCRIPTION
The
--
2.38.1
Powered by blists - more mailing lists