non-standard const-preserving string APIs

Alejandro Colomar <[email protected]>
Newsgroups org.kernel.vger.linux-man
Message-ID <agizh06CdDnhDvAB@devuan>
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?


Have a lovely day!
Alex

-- 
<https://www.alejandro-colomar.es>
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEES7Jt9u9GbmlWADAi64mZXMKQwqkFAmoItE0ACgkQ64mZXMKQ
wqnf0Q/+Nig40KOljYVR/ImGYVtQ3wUnS5716OXfIQNIJi8rl6p9FOtF1MDt/oyn
DKTm3RBWmoQ14rsmfXTKYEvLDB/eryQXyAo488RGV69utk+zE+lZ1DMM3cjlBbG4
oZ/QnpMfp0W+sWP8csNfZLFIJfGBHNsO67zOqTGGm6gUF9vUnZxiVJId6EoUZxdx
OAidYsOqVa04m0MuSdoq1wrvgvr1VS5OBWxw59hj+btcwf+8gKOw2NvahiNjUYRm
OXTB8T5MKklbB5RtVoOP3h4DwN3qzngpsVogwxPK3zpudTx8UVZ3rldMmxg51Wk2
4ilOX9BPJeI3LWtotvOv2Y1TgimMkPoXiZj44apfe11+/A3TabVW0oIQUNUqUN0y
coB3ZDNO7yPyEguqOHKSqQeKUIABqbMzVdVAGy6vkaZDuh1lR9/AWzMKREqlhpCy
prZTOKSpSiiO/9ymFJIE/n2+EnI0X4B0uZT78FTeF0ziEju26286zzy2wmSIfthf
iVFsVWzVqfwrojcYyR8eZCEKQ8Iey99tM1ZLM0XE+1x8PMBTV48/rGgxpyb5SX4w
c4FCeJjI+vJgvkAHaJfp8Q7RTolhjVZzcK58XSGomZ4m4ribTqtgNJ3ZLqAi7IyF
RFPG8L24jL+dlUz6UTMwKtLXSWqWMg9Dt6hoXE+EQXBMKwTpjq0=
=p7/c
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.