SL_stricmp


NAME
SL_stricmp -- perform a case insensitive compare of two strings.

SYNOPSIS
result = SL_stricmp(str1, str2);
D0 A0 A1

WORD SL_stricmp(SLCHAR *, SLCHAR *);

FUNCTION
Compares two strings without regard to case. Exactly like the C function
stricmp(). It is implemented here because stricmp() is not an ANSI C
function.

INPUTS
str1 - a null terminated string.
str2 - a null terminated string.

RESULTS
result - -1 if str1 is less than str2, 0 if str1 is the same as str2, 1 if str1 is greater than str2.

SEE ALSO

 

SL_stricmp  Command Section By Type  url:SL_stricmp
  created:2008-03-01 23:36:37   last updated:2008-03-01 23:36:37
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SL_stricmp
There are no user contributed comments for this page.