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

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: <3C0E1592.BE4AA60@yahoo.com>
Date: Wed, 05 Dec 2001 07:39:46 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: CA List <Cygwin-Apps AT cygwin DOT com>
X-Mailer: Mozilla 4.77 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: egor duda <cygwin-apps AT cygwin DOT com>
CC: Pavel Tsekov <ptsekov AT syntrex 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>
> 

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

- Raw text -


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