[RFC v4 2/4] string: Add streq,memeq,wcseq,wmemeq,strcaseeq[_l],wcscaseeq[_l] APIs

Paul Eggert eggert@cs.ucla.edu
Mon Sep 15 16:41:29 GMT 2025


On 2025-09-15 00:18, Alejandro Colomar wrote:
> I gave up on static inline because of that.  TBH, I'd like to avoid
> doing tricks where users have a hard time understanding what glibc is
> doing.  I have enough trouble reading glibc sources myself already.

OK, if we want to keep things absolutely simple in the headers, then we 
should not use inline.

It's too bad that glibc never uses C99-or-later inline in its headers, 
due to portability hassles and inertia, particularly since Gnulib has 
been doing it for many years. But I suppose this can be put off still 
further into the future.


More information about the Libc-alpha mailing list