string.h vs string.h usage
Pavel Tsekov
ptsekov@syntrex.com
Wed Dec 5 04:28:00 GMT 2001
egor duda wrote:
>
> Hi!
>
> Wednesday, 05 December, 2001 Pavel Tsekov ptsekov@syntrex.com wrote:
>
> SUSv2 mandates both <strings.h> and <string.h>
>
> mingw declares strcasecmp() in <string.h> while SUSv2 says it should
> be in <strings.h>
Afaik str[n]case is and BSD-ism :)
Btw here is what glibc on redhat 7.1 says.
/* We don't need and should not read this file if <string.h> was already
read. The one exception being that if __USE_BSD isn't defined, then
these aren't defined in string.h, so we need to define them here. */
>
> i believe mingw headers should be fixed/updated.
>
More information about the Cygwin-apps
mailing list