The branch main has been updated by emaste:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=6924e4211b8781c630acf7e9a2e08e87804dd01c

commit 6924e4211b8781c630acf7e9a2e08e87804dd01c
Author:     Ed Maste <ema...@freebsd.org>
AuthorDate: 2025-07-25 13:34:48 +0000
Commit:     Ed Maste <ema...@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

Reply via email to