This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 10/29/2014 12:54 PM, Jon TURNEY wrote: > > Based on [1], I think that strcasecmp() should be declared by string.h > if _BSD_VISIBLE or _POSIX_VISIBLE, the same as strncasecmp() a few lines > further down. POSIX doesn't require strcasecmp or strncasecmp to be visible in <string.h> (they are only mandatory in <strings.h>). But it also permits <string.h> to declare anything it wants in the str* namespace, so this is still standards compliant, and closer to what lazy programmers have gotten used to with glibc. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |