[libc-coord] Add new ABI '__memcmpeq()' to libc
Noah Goldstein
goldstein.w.n@gmail.com
Thu Sep 16 21:59:51 GMT 2021
On Thu, Sep 16, 2021, 4:50 PM enh via Libc-alpha <libc-alpha@sourceware.org>
wrote:
> plus testing for _equality_ can (as mentioned earlier) have slightly
> different properties from the three-way comparator behavior of
> bcmp()/memcmp().
>
How does bcmp() have a three-way comparator?
Or do you mean how it is currently implemented as an alias to memcmp()?
> On Thu, Sep 16, 2021 at 2:43 PM Joseph Myers <joseph@codesourcery.com>
> wrote:
>
> > On Thu, 16 Sep 2021, James Y Knight wrote:
> >
> > > Wouldn't it be far simpler to just un-deprecate bcmp?
> >
> > The aim is to have something to which calls can be generated in all
> > standards modes. bcmp has never been part of ISO C; there's nothing to
> > undeprecate there.
> >
> > --
> > Joseph S. Myers
> > joseph@codesourcery.com
> >
>
More information about the Gcc
mailing list