Date: Fri, 25 Jul 2025 13:48:52 GMT From: Ed Maste <emaste@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 6924e4211b87 - main - memchr.3: Operates on objects, not strings Message-ID: <202507251348.56PDmqpk079648@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=6924e4211b8781c630acf7e9a2e08e87804dd01c commit 6924e4211b8781c630acf7e9a2e08e87804dd01c Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2025-07-25 13:34:48 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2025-07-25 13:48:42 +0000 memchr.3: Operates on objects, not strings Suggested by: avg Reviewed by: avg Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D51523 --- lib/libc/string/memchr.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libc/string/memchr.3 b/lib/libc/string/memchr.3 index 65617a117371..c50e932d3382 100644 --- a/lib/libc/string/memchr.3 +++ b/lib/libc/string/memchr.3 @@ -34,7 +34,7 @@ .Os .Sh NAME .Nm memchr -.Nd locate byte in byte string +.Nd locate byte in memory object .Sh LIBRARY .Lb libc .Sh SYNOPSIS @@ -51,7 +51,7 @@ locates the first occurrence of .Fa c (converted to an .Vt "unsigned char" ) -in string +in object .Fa b , limited to at most .Fa len @@ -63,7 +63,7 @@ function behaves like .Fn memchr , except that it locates the last occurrence of .Fa c -in string +in object .Fa b , limited to the first .Fa len
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202507251348.56PDmqpk079648>