English
Language : 

CC78K4 Datasheet, PDF (231/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler 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 locale.
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 a cultural sphere. The operations are the same as that
of strcmp.
User’s Manual U15556EJ1V0UM
231