[PATCH] manual: Document a GNU extension for strncmp/wcsncmp

Paul Eggert eggert@cs.ucla.edu
Tue Jul 9 14:44:38 GMT 2024


On 7/8/24 09:40, Florian Weimer wrote:
> I think that's still ambiguous whether they could be accessed.  Maybe it
> shouldn't say this is an extension, see the strnlen discussion.

Perhaps the glibc manual could say that although this part of the 
behavior of strncmp/strnlen (and presumably related functions) are as 
stated for glibc and for all other known C library implementations, they 
might be an extension to the C and/or POSIX standards, as opinions 
differ as to whether the standards are clear about this.


More information about the Libc-alpha mailing list