Stricmp - HP B1476 68020 User Manual

Debugger/emulator
Table of Contents

Advertisement

stricmp

Function
Comparison of two strings without case distinction
Synopsis
unsigned long stricmp (str1, str2,)
char *str1;
char *str2;
Description
The stricmp macro compares str1 with str2 without case distinction. This
means that the strings "ABC" and "abc" are considered to be identical.
The strings str1 and str2 are compared and a result is returned according to the
following relations:
relation
s1 < s2
s1 = s2
s1 > s2
Diagnostics
Strings are assumed to be NULL terminated or to be within the array
boundaries because the comparison is limited to the number of stated
characters. The comparison is always signed, regardless of how the string is
declared.
Chapter 15: Predefined Macros
result
negative integer
zero
positive integer
stricmp
585

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1476 68030

Table of Contents