summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorнаб <nabijaczleweli@nabijaczleweli.xyz>2023-06-23 18:54:37 +0200
committerAlejandro Colomar <alx@kernel.org>2023-07-08 18:32:59 +0200
commitafb2a42b4e393b08129d52fc200e36010305da3d (patch)
tree66ee533d4f762ce4887c6c66bbb3d69ff99ab4cc
parent691eaf7639a1d2f8bdc27405b13b08f7e023e078 (diff)
memchr.3: rawmemchr doesn't have an n parameter
The /point/ is it's unbounded; git grep -F 'void "' | grep -F '[]' didn't return anything so I reverted it to a void*. Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Fixes: c64cd13e0025 ("Various pages: SYNOPSIS: Use VLA syntax in 'void *' function parameters") Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man3/memchr.32
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/memchr.3 b/man3/memchr.3
index e2916dc9a..030806aa0 100644
--- a/man3/memchr.3
+++ b/man3/memchr.3
@@ -23,7 +23,7 @@ Standard C library
.BI "void *memchr(const void " s [. n "], int " c ", size_t " n );
.BI "void *memrchr(const void " s [. n "], int " c ", size_t " n );
.PP
-.BI "[[deprecated]] void *rawmemchr(const void " s [. n "], int " c );
+.BI "[[deprecated]] void *rawmemchr(const void *" s ", int " c );
.fi
.PP
.RS -4