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>
> 
> 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.
>


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