[PATCH] memchr.3: rawmemchr doesn't have an n parameter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx>
---
 man3/memchr.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 @@ .SH SYNOPSIS
 .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
-- 
2.39.2

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux