[23/41] recv.2: SYNOPSIS: Add _Nullable

Message ID 20221203202317.252789-24-alx@kernel.org
State New
Headers
Series Document nullability of syscall parameters |

Commit Message

Alejandro Colomar Dec. 3, 2022, 8:22 p.m. UTC
  Signed-off-by: Alejandro Colomar <alx@kernel.org>
---
 man2/recv.2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Patch

diff --git a/man2/recv.2 b/man2/recv.2
index d492976c4..5298a2745 100644
--- a/man2/recv.2
+++ b/man2/recv.2
@@ -24,8 +24,8 @@  .SH SYNOPSIS
 .BI "                 int " flags );
 .BI "ssize_t recvfrom(int " sockfd ", void " buf "[restrict ." len "], size_t " len ,
 .BI "                 int " flags ,
-.BI "                 struct sockaddr *restrict " src_addr ,
-.BI "                 socklen_t *restrict " addrlen );
+.BI "                 struct sockaddr *_Nullable restrict " src_addr ,
+.BI "                 socklen_t *_Nullable restrict " addrlen );
 .BI "ssize_t recvmsg(int " sockfd ", struct msghdr *" msg ", int " flags );
 .fi
 .SH DESCRIPTION