mailing list of musl libc
 help / color / mirror / code / Atom feed
* C23 const-generic APIs
@ 2025-07-01  5:43 Alejandro Colomar
  2025-07-01  6:50 ` [musl] " Jₑₙₛ Gustedt
  0 siblings, 1 reply; 2+ messages in thread
From: Alejandro Colomar @ 2025-07-01  5:43 UTC (permalink / raw)
  To: Rich Felker; +Cc: musl

[-- Attachment #1: Type: text/plain, Size: 361 bytes --]

Hi Rich,

I was wondering if musl will implement C23 const-generic APIs, such as

	QChar *strchr(QChar *s, int c);

and if there are any issues why you haven't done it yet.  If you lack
time, I could have a look at it.  I was just wondering if you oppose to
it for some reason.


Have a lovely day!
Alex

-- 
<https://www.alejandro-colomar.es/>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [musl] C23 const-generic APIs
  2025-07-01  5:43 C23 const-generic APIs Alejandro Colomar
@ 2025-07-01  6:50 ` Jₑₙₛ Gustedt
  0 siblings, 0 replies; 2+ messages in thread
From: Jₑₙₛ Gustedt @ 2025-07-01  6:50 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: musl, Rich Felker

[-- Attachment #1: Type: text/plain, Size: 883 bytes --]

Alex,
I submitted a series of patches for C23 support in musl about two
years ago. If I understood correctly at that time there was not enough
priority to include them immediately. This concerned most C23 library
changes with an exception for the `<math.h>` interfaces, for which I
am really not an expert. Also, I have no idea if these still aply
cleanly to current musl.

Now that major compilers are switching to C23 per default, it might be
a time to reconsider these patches.

Thanks
Jₑₙₛ

-- 
:: ICube :::::::::::::::::::::::::::::: deputy director ::
:: Université de Strasbourg :::::::::::::::::::::: ICPS ::
:: INRIA antenne de Strasbourg :::::::::::::::::: Camus ::
:: INRIA PIQ program Strasbourg :::::::::: piq.inria.fr ::
:: :::::::::::::::::::::::::::::::::::: ☎ +33 368854536 ::
:: https://icube-icps.unistra.fr/index.php/Jens_Gustedt ::

[-- Attachment #2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-01  6:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-01  5:43 C23 const-generic APIs Alejandro Colomar
2025-07-01  6:50 ` [musl] " Jₑₙₛ Gustedt

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).