Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2025 09:36:57 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        Konstantin Belousov <kib@freebsd.org>, src-committers@freebsd.org,  dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: 441995e161a2 - main - memchr.3: mention the len argument in the functions description
Message-ID:  <CAPyFy2DsH8Y7_xfD%2BPHGQXFwSpviHaa6ff1yVm3C3YmYWiheDg@mail.gmail.com>
In-Reply-To: <c7ac13f8-e39f-46ee-a50c-2182c54abba0@FreeBSD.org>
References:  <202507221511.56MFBlfh096304@gitrepo.freebsd.org> <c7ac13f8-e39f-46ee-a50c-2182c54abba0@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 25 Jul 2025 at 05:05, Andriy Gapon <avg@freebsd.org> wrote:
>
> On 22/07/2025 18:11, Konstantin Belousov wrote:
> > The branch main has been updated by kib:
> >
> > URL: https://cgit.FreeBSD.org/src/commit/?id=441995e161a2564d37947d054a2f1219754deb5f
> >
> > commit 441995e161a2564d37947d054a2f1219754deb5f
> > Author:     Konstantin Belousov <kib@FreeBSD.org>
> > AuthorDate: 2025-07-19 12:15:44 +0000
> > Commit:     Konstantin Belousov <kib@FreeBSD.org>
> > CommitDate: 2025-07-22 15:11:40 +0000
> >
> >      memchr.3: mention the len argument in the functions description
> ...
> Maybe this is also a good time to change 'string' to 'memory object' (using
> POSIX wording) or something of that kind.
> Most people would read 'string' as C string which the parameter doesn't have to be.

That's a good clarification.
https://reviews.freebsd.org/D51523



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2DsH8Y7_xfD%2BPHGQXFwSpviHaa6ff1yVm3C3YmYWiheDg>