English
Language : 

CC78K0S Datasheet, PDF (248/520 Pages) NEC – C Compiler Ver.1.30 or Later Language
CHAPTER 10 LIBRARY FUNCTIONS
6-15 strcoll
Character String/Memory Functions
FUNCTION
strcoll compares two character strings based on the information specific to the area.
HEADER
string.h
FUNCTION PROTOTYPE
int strcoll (const char *s1, const char *s2) ;
Function
strcoll
Arguments
s1 ... Pointer to comparison
character string
s2 ... Pointer to comparison
character string
Return Value
When character strings s1
and s2 are equal ... 0
When character strings s1
and s2 are different
... The difference between the
values whose first different
characters are converted to int
(character of s1 – character of
s2)
EXPLANATION
• This compiler does not support operations specific to the cultural sphere. The operations are the same as
that of strcmp.
248
User’s Manual U14872EJ1V0UM