string.h vs string.h usage
Earnie Boyd
earnie_boyd@yahoo.com
Wed Dec 5 04:40: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>
>
Wrong documentation base. You must use MSDN for MinGW.
> mingw declares strcasecmp() in <string.h> while SUSv2 says it should
> be in <strings.h>
>
> i believe mingw headers should be fixed/updated.
>
No, MinGW headers are correct according to MSDN. Perhaps the problem
here is that strcasecmp doesn't exist in the MinGW world. From what I
find, strcasecmp is a BSD addition to even POSIX. That said, MinGW
supports ANSI functions only.
Earnie.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
More information about the Cygwin-apps
mailing list