Re: str_cmp / strcasecmp

From: George Greer (greerga@circlemud.org)
Date: 02/17/02


On Mon, 18 Feb 2002, Kras Kresh wrote:

>Why does circlemud create a function str_cmp and strn_cmp when there is a
>function strcasecmp and strncasecmp? This wouldn't happen to be a library
>problem would it?

strcasecmp doesn't necessarily exist.  Windows seems to use stricmp
instead.  CircleMUD bpl21 will use strcasecmp, stricmp, or else the str_cmp
function if neither exists. I also made str_dup only exist if strdup
doesn't.

--
George Greer
greerga@circlemud.org

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT