delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/12/05/07:29:33

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Message-ID: <3C0E12BA.3843123E@syntrex.com>
Date: Wed, 05 Dec 2001 13:27:38 +0100
From: Pavel Tsekov <ptsekov AT syntrex DOT com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin-apps AT cygwin DOT com
Subject: Re: string.h vs string.h usage
References: <3C0E0C4C DOT 73A1750D AT syntrex DOT com> <15915798356 DOT 20011205152138 AT logos-m DOT ru>

egor duda wrote:
> 
> Hi!
> 
> Wednesday, 05 December, 2001 Pavel Tsekov ptsekov AT syntrex DOT 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.
>

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019