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

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

 



On 6/23/23 18:54, наб wrote:
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>
---

Oops, my bad.  Patch applied.  Thanks,
Alex

  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

--
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5

Attachment: OpenPGP_signature
Description: OpenPGP digital 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