delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/02/15:32:32

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: "Missing" functions
Date: Sat, 02 Aug 1997 00:45:37 -0700
Organization: Alcyone Systems
Lines: 19
Message-ID: <33E2E5A1.53F43DFD@alcyone.com>
References: <33E20183 DOT 69C5 AT ncs DOT com> <33E210D2 DOT 127C0C75 AT alcyone DOT com> <33E1F197 DOT 332A AT cs DOT com>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

John M. Aldrich wrote:

> stricmp() (note spelling) and strcasecmp() are both in the DJGPP
> library.  Since they perform identical functions, I assume they are
> named as such for portability with Borland and other compilers.  A
> simple look in the libc docs in the string functions category would have
> revealed this ("info libc func string").

This is true.  stricmp (and strcmpi; as I recall, they were the same) in
Borland C, but still, stricmp/strcmpi is non-ANSI and thus is not
portable.

-- 
       Erik Max Francis, &tSftDotIotE / email / mailto:max AT alcyone DOT com
                     Alcyone Systems /   web / http://www.alcyone.com/max/
San Jose, California, United States /  icbm / 37 20 07 N  121 53 38 W
                                   \
   "Love is not love which alters / when it alternation finds."
                                 / William Shakespeare, _Sonnets_, 116

- Raw text -


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