This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin 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]

Re: string.h vs string.h usage


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]