From: Alejandro Colomar <alx@kernel.org>
To: Adhemerval Zanella Netto <adhemerval.zanella@linaro.org>
Cc: libc-alpha@sourceware.org, linux-man@vger.kernel.org
Subject: Re: non-standard const-preserving string APIs
Date: Sun, 17 May 2026 15:59:42 +0200 [thread overview]
Message-ID: <agnIOfwI5KKGwS_I@devuan> (raw)
In-Reply-To: <c57574d1-9031-4ae6-8cd1-0e74931b9af6@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 971 bytes --]
Hi Adhemerval,
On 2026-05-17T09:22:41-0300, Adhemerval Zanella Netto wrote:
>
>
> On 16/05/26 15:15, Alejandro Colomar wrote:
> > Hi!
> >
> > I'm working on documenting the recent API change of strchr(3) et al.
> > to adapt to C23. While doing that, I've realized that the related APIs
> > that are not standardized by ISO C, such as memrchr(3), have not been
> > changed consistently with their relatives. Has this been discussed?
> >
> > I think the inconsistency might be dangerous. Should we change the
> > other string functions accordingly?
> I think it is reasonable to support const-preserving to the GNU interfaces as
> well. Are you preparing a patch?
Yup, I will. Thanks!
Have a lovely day!
Alex
P.S.: Adhemerval, would you mind having a look at my other recent patch
set? It was 'Add [v]aprintf(3)'. The message-ID was:
Message-ID: <cover.1776882798.git.alx@kernel.org>
--
<https://www.alejandro-colomar.es>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2026-05-17 13:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-16 18:15 non-standard const-preserving string APIs Alejandro Colomar
2026-05-17 12:22 ` Adhemerval Zanella Netto
2026-05-17 13:59 ` Alejandro Colomar [this message]
2026-05-18 17:19 ` Adhemerval Zanella Netto
[not found] ` <CAJYzjmezHCPUUpE+w35+TB_70V3=BGq7uD3geEdywP5-OXSU-g@mail.gmail.com>
2026-05-18 18:27 ` Adhemerval Zanella Netto
2026-06-01 11:41 ` Florian Weimer
2026-06-01 22:10 ` Alejandro Colomar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=agnIOfwI5KKGwS_I@devuan \
--to=alx@kernel.org \
--cc=adhemerval.zanella@linaro.org \
--cc=libc-alpha@sourceware.org \
--cc=linux-man@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.