summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-04-20 15:31:22 +0200
committerAlejandro Colomar <alx@kernel.org>2023-04-20 15:31:22 +0200
commitb347075376508483b73547314bb042157e1a2f09 (patch)
tree3c690eed3b2769f69024a6c5bc6ba23a12b3874f
parent32b517c9645016f0d9cc8632f319be6743ad928d (diff)
regex.3: SYNOPSIS: Add _Nullable qualifier
Reported-by: Ahelenia ZiemiaƄska <nabijaczleweli@nabijaczleweli.xyz> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man3/regex.34
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/regex.3 b/man3/regex.3
index 3ee58f61d..4f9c68b83 100644
--- a/man3/regex.3
+++ b/man3/regex.3
@@ -22,10 +22,10 @@ Standard C library
.BI " int " cflags );
.BI "int regexec(const regex_t *restrict " preg \
", const char *restrict " string ,
-.BI " size_t " nmatch ", regmatch_t " pmatch "[restrict ." nmatch ],
+.BI " size_t " nmatch ", regmatch_t " pmatch "[_Nullable restrict ." nmatch ],
.BI " int " eflags );
.PP
-.BI "size_t regerror(int " errcode ", const regex_t *restrict " preg ,
+.BI "size_t regerror(int " errcode ", const regex_t *_Nullable restrict " preg ,
.BI " char " errbuf "[restrict ." errbuf_size "], \
size_t " errbuf_size );
.BI "void regfree(regex_t *" preg );