aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/string
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2025-07-25 13:34:48 +0000
committerEd Maste <emaste@FreeBSD.org>2025-07-25 13:48:42 +0000
commit6924e4211b8781c630acf7e9a2e08e87804dd01c (patch)
tree444200c818601357145c691901eaa122d075f0c1 /lib/libc/string
parente1e77dd23cedc6d19e48e03d9454c5a3d552ed50 (diff)
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/memchr.36
1 files 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