This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: string.h vs string.h usage
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- To: egor duda <cygwin-apps at cygwin dot com>
- Cc: Pavel Tsekov <ptsekov at syntrex dot com>
- Date: Wed, 05 Dec 2001 07:39:46 -0500
- Subject: Re: string.h vs string.h usage
- References: <3C0E0C4C.73A1750D@syntrex.com> <15915798356.20011205152138@logos-m.ru>
- Reply-to: CA List <Cygwin-Apps at Cygwin dot Com>
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